createCollection
suspend fun createCollection(collectionName: String, createCollectionOptions: CreateCollectionOptions = CreateCollectionOptions())
Create a new collection with the selected options
Parameters
collectionName
the name for the new collection to create
createCollectionOptions
various options for creating the collection
See also
suspend fun createCollection(clientSession: ClientSession, collectionName: String, createCollectionOptions: CreateCollectionOptions = CreateCollectionOptions())
Create a new collection with the selected options
Parameters
clientSession
the client session with which to associate this operation
collectionName
the name for the new collection to create
createCollectionOptions
various options for creating the collection