drop Scope
suspend fun dropScope(scopeName: String, common: CommonOptions = CommonOptions.Default)
Content copied to clipboard
Deletes a scope from the bucket.
WARNING: All documents (and collections & indexes) in the scope will be lost.
Parameters
scope Name
Name of the scope to drop.
Throws
com. couchbase. client. core. error. Scope Not Found Exception
if the bucket does not have a scope with this name.