Dart 2.x

exists

Checks if a collection exists.


Arguments

Copied to clipboard!
Future<bool> exists(String index, String collection)

Arguments Type Description
index
String
Index
collection
String
Collection

Return

Returns a boolean.

Usage

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