SDK
SDK Dart v1.x
2

# getMapping

Returns the collection mapping.


Copied to clipboard!
Future<Map<String, dynamic>> getMapping(String index, String collection,
      {bool includeKuzzleMeta = false})

Arguments Type Description
index
String
Index name
collection
String
Collection name
includeKuzzleMeta
bool
Wether or not you want to include the metadata mapping

# Returns

Returns a Future<Map<String, dynamic>> representing the collection mapping.

# Usage

Copied to clipboard!
final result = await kuzzle
  .collection
  .getMapping('nyc-open-data', 'yellow-taxi');