Interface IMutateInResult
Result of a sub document MutateIn operation.
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
public interface IMutateInResult : IMutationResult, IResult, IDisposable
Methods
| Edit this page View SourceContentAs<T>(int)
Gets the content of a mutation as the specified type.
Declaration
T? ContentAs<T>(int index)
Parameters
Type | Name | Description |
---|---|---|
int | 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
[InterfaceStability(Level.Volatile)]
int IndexOf(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | Path to find. |
Returns
Type | Description |
---|---|
int | The index of the path, or -1 if not found. |