Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IMutateInResult

Result of a sub document MutateIn operation.

Inherited Members
IMutationResult.MutationToken
IResult.Cas
IDisposable.Dispose()
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
public interface IMutateInResult : IMutationResult, IResult, IDisposable

Methods

View Source

ContentAs<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 default(T).

Type Parameters
Name Description
T

The type of the content

View Source

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.

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.