get And Lock
suspend fun getAndLock(id: String, lockTime: Duration, common: CommonOptions = CommonOptions.Default): GetResult
Throws
Document Not Found Exception
if a document with ID id is not found in the collection.
if a document with ID id is not found in the collection.