update Collection
@SinceCouchbase(value = "7.2" )
Content copied to clipboard
Modifies an existing collection.
Parameters
scope Name
Name of the parent scope. This scope must already exist.
collection Name
Name of the collection to update. This collection must already exist.
max Expiry
New value for the maximum expiry for documents in the collection (Duration.ZERO means "no expiry"), or null to leave unmodified.
history
New value for history preservation for this collection, or null to leave unmodified.
Throws
com. couchbase. client. core. error. Scope Not Found Exception
if the parent scope does not exist.
com. couchbase. client. core. error. Collection Not Found Exception
if the collection does not exist.