Interface ITryTouchResult
Provides an interface for 'touching' a document, but instead of throwing DocumentNotFoundException exception if the document key is not found, allows for the existence to be checked via Exists.
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
public interface ITryTouchResult
Properties
| Edit this page View SourceExists
If false, the document does not exist on the server for a given key.
Declaration
bool Exists { get; }
Property Value
Type | Description |
---|---|
bool |
MutationResult
The mutation result containing the Cas value after the Touch operation. If Exists is false, this will be empty.
Declaration
IMutationResult? MutationResult { get; }
Property Value
Type | Description |
---|---|
IMutationResult |