getAndLock
suspend fun getAndLock(id: String, lockTime: Duration, common: CommonOptions = CommonOptions.Default): GetResult
Content copied to clipboard
Throws
com.couchbase.client.core.error.DocumentNotFoundException
if a document with ID id is not found in the collection.