drop Primary Index
suspend fun dropPrimaryIndex(common: CommonOptions = CommonOptions.Default, ignoreIfNotExists: Boolean = false)
Content copied to clipboard
Drops an anonymous primary index on this collection.
To drop a named primary index, use dropIndex instead.
Throws
com. couchbase. client. core. error. Index Not Found Exception
if the index does not exist.
com. couchbase. client. core. error. Index Failure Exception
if dropping the index failed (see reason for details).
com. couchbase. client. core. error. Couchbase Exception
if any other generic unhandled/unexpected errors.