createCollection method
Future<Map<String, dynamic> >
createCollection(
- String name, {
- CreateCollectionOptions? createCollectionOptions,
- Map<
String, Object> ? rawOptions,
This method explicitly creates a collection
Implementation
Future<Map<String, dynamic>> createCollection(String name,
{CreateCollectionOptions? createCollectionOptions,
Map<String, Object>? rawOptions}) async {
var command = CreateCollectionCommand(this, name,
createCollectionOptions: createCollectionOptions,
rawOptions: rawOptions);
return command.execute();
}