dropScope

suspend fun dropScope(scopeName: String, common: CommonOptions = CommonOptions.Default)

Deletes a scope from the bucket.

WARNING: All documents (and collections & indexes) in the scope will be lost.

Parameters

scopeName

Name of the scope to drop.

Throws

com.couchbase.client.core.error.ScopeNotFoundException

if the bucket does not have a scope with this name.