deleteCollection

expect fun deleteCollection(name: String)(source)

Delete a collection by name in the default scope. If the collection doesn't exist, the operation will be no-ops. Note: the default collection cannot be deleted.

Parameters

name

the collection to be deleted

Throws


expect fun deleteCollection(collectionName: String, scopeName: String?)(source)

Delete a collection by name in the specified scope. If the collection doesn't exist, the operation will be no-ops. Note: the default collection cannot be deleted.

Parameters

collectionName

the collection to be deleted

scopeName

the scope from which to delete the collection

Throws

actual fun deleteCollection(name: String)(source)
actual fun deleteCollection(collectionName: String, scopeName: String?)(source)
actual fun deleteCollection(name: String)(source)
actual fun deleteCollection(collectionName: String, scopeName: String?)(source)