Interface IMutateInResult
Result of a sub document MutateIn operation.
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
public interface IMutateInResult : IMutationResult, IResult, IDisposable
Methods
| Improve this Doc View SourceContentAs<T>(Int32)
Gets the content of a mutation as the specified type.
Declaration
T ContentAs<T>(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The spec index. |
Returns
Type | Description |
---|---|
T | The content, if the operation was an Increment or Decrement, otherwise |
Type Parameters
Name | Description |
---|---|
T | The type of the content |
IndexOf(String)
Returns the index of a particular path.
Declaration
int IndexOf(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | Path to find. |
Returns
Type | Description |
---|---|
Int32 | The index of the path, or -1 if not found. |