Exposes the creation of a set of mutation operations to be performed.
Namespace: Couchbase.CoreAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)


- TDocument
- The strong typed document (POCO) reflecting the structure of the paths.
The IMutateInBuilder<TDocument> type exposes the following members.

Name | Description | |
---|---|---|
![]() | ArrayAddUnique(Object, Boolean) |
Adds a value to an array if the value does not already exist in the array at the root of the JSON document.
|
![]() | ArrayAddUnique(String, Object, Boolean) |
Adds a value to an array if the value does not already exist in the array.
|
![]() | ArrayAppend(Boolean,Object[]) |
Inserts one or more values at the end of an array that is the root of a JSON document.
|
![]() | ArrayAppend(Object, Boolean) |
Inserts an array value at the end of an array that is the root of a JSON document.
|
![]() | ArrayAppend(String, Boolean,Object[]) |
Inserts one or more values to the end of an array in a JSON document at a given path.
|
![]() | ArrayAppend(String, Object, Boolean) |
Inserts a value to the end of an array in a JSON document at a given path.
|
![]() | ArrayInsert(String, Object) |
Inserts a value at a given position within an array. The position is indicated as part of the path.
|
![]() | ArrayInsert(String,Object[]) |
Inserts one or more values at a given position within an array. The position is indicated as part of the path.
|
![]() | ArrayPrepend(Boolean,Object[]) |
Inserts one or more values to the beginning of an array that is the root of a JSON document.
|
![]() | ArrayPrepend(Object, Boolean) |
Inserts a value to the beginning of an array that is the root of a JSON document.
|
![]() | ArrayPrepend(String, Boolean,Object[]) |
Inserts one or more values to the beginning of an array in a JSON document at a given path.
|
![]() | ArrayPrepend(String, Object, Boolean) |
Inserts a value to the beginning of an array in a JSON document at a given path.
|
![]() | Counter |
Performs an arithmetic increment or decrement operation on a numeric value in a document.
|
![]() | Execute |
Executes the chained operations.
(Inherited from ISubDocBuilder<TDocument>.) |
![]() | ExecuteAsync |
Executes the chained operations.
(Inherited from ISubDocBuilder<TDocument>.) |
![]() | Insert |
Inserts an element into a JSON document at a given path.
|
![]() | Remove |
Removes an element or value from a JSON document at a given path.
|
![]() | Replace |
Replaces an element or value within a JSON document at a given path.
|
![]() | Upsert |
Inserts or updates an element within or into a JSON document at a given path.
|
![]() | WithCas |
A "check-and-set" value for ensuring that a document has not been modified by another thread.
|
![]() | WithDurability(PersistTo) |
A durability constraint ensuring that a document has been persisted to the n^th node.
|
![]() | WithDurability(ReplicateTo) |
A durability constraint ensuring that a document has been persisted to the n^th node.
|
![]() | WithDurability(PersistTo, ReplicateTo) |
Sets the ReplicateTo and PersistTo values for a document.
|
![]() | WithExpiry |
Applies an expiration to a document.
|

Name | Description | |
---|---|---|
![]() | ArrayAddUnique<TDocument, TContent, TElement> |
Add a unique fragment of type TContent into an array in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | ArrayAppend<TDocument, TContent, TElement> |
Push a fragment of type TContent into the back of an array in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | ArrayInsert<TDocument, TElement> |
Insert a fragment of type TElement into an array in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | ArrayPrepend<TDocument, TContent, TElement> |
Push a fragment of type TContent into the front of an array in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | Counter<TDocument, TContent> |
Increment or decrement a counter of type TContent in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | Insert<TDocument, TContent> |
Insert a fragment of type TContent into a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | Remove<TDocument, TContent> |
Remove a fragment of type TContent from a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | Replace<TDocument, TContent> |
Replace a fragment of type TContent in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |
![]() | Upsert<TDocument, TContent> |
Update or insert a fragment of type TContent into a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |

Name | Description | |
---|---|---|
![]() | Cas |
A "check-and-set" value for ensuring that a document has not been modified by another thread.
|
![]() | Count |
Returns a count of the currently chained operations.
(Inherited from ISubDocBuilder<TDocument>.) |
![]() | Expiry |
The "time-to-live" or "TTL" that specifies the document's lifetime.
|
![]() | Key |
Gets or sets the unique identifier for the document.
(Inherited from ISubDocBuilder<TDocument>.) |
![]() | PersistTo |
A durability constraint ensuring that a document has been persisted to the n^th node.
|
![]() | ReplicateTo |
A durability constraint for ensuring that the document has been replicated to the n^th node.
|
![]() | Serializer |
Gets the ITypeSerializer related to the object.
(Inherited from ITypeSerializerProvider.) |
