- Getting Started
- Core classes
- ErrorResponse
- KuzzleError
- KuzzleRequest
- KuzzleResponse
- SearchResult
- Controllers
- auth
- collection
- document
- realtime
- security
Checks if a collection exists.
Future<bool> exists(String index, String collection)
Arguments | Type | Description |
---|---|---|
index | String | Index |
collection | String | Collection |
Returns a boolean.
final result = await kuzzle
.collection
.exists('nyc-open-data', 'yellow-taxi');