exists #
Checks if a collection exists.
Arguments #
Future<bool> exists(String index, String collection)
Arguments | Type | Description |
---|---|---|
index | String | Index |
collection | String | Collection |
Return #
Returns a boolean.
Usage #
final result = await kuzzle
.collection
.exists('nyc-open-data', 'yellow-taxi');
Edit this page on Github(opens new window)