IMutateInBuilderTDocument Interface |
Namespace: Couchbase.Core
public interface IMutateInBuilder<TDocument> : ISubDocBuilder<TDocument>, ITypeSerializerProvider
The IMutateInBuilderTDocument type exposes the following members.
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 ISubDocBuilderTDocument.) | |
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 ISubDocBuilderTDocument.) | |
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.) | |
Timeout |
The maximum time allowed for an operation to live before timing out.
(Inherited from ISubDocBuilderTDocument.) |
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.
| |
ArrayAddUnique(String, Object, SubdocPathFlags, SubdocDocFlags) |
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.
| |
ArrayAppend(String, SubdocPathFlags, SubdocDocFlags, Object) |
Inserts one or more values to the end of an array in a JSON document at a given path.
| |
ArrayAppend(String, Object, SubdocPathFlags, SubdocDocFlags) |
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.
| |
ArrayInsert(String, SubdocPathFlags, SubdocDocFlags, Object) |
Inserts one or more values at a given position within an array. The position is indicated as part of the path.
| |
ArrayInsert(String, Object, SubdocPathFlags, SubdocDocFlags) |
Inserts a value 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.
| |
ArrayPrepend(String, SubdocPathFlags, SubdocDocFlags, Object) |
Inserts one or more values to the beginning of an array in a JSON document at a given path.
| |
ArrayPrepend(String, Object, SubdocPathFlags, SubdocDocFlags) |
Inserts a value to the beginning of an array in a JSON document at a given path.
| |
Counter(String, Int64, Boolean) |
Performs an arithmetic increment or decrement operation on a numeric value in a document.
| |
Counter(String, Int64, SubdocPathFlags, SubdocDocFlags) |
Performs an arithmetic increment or decrement operation on a numeric value in a document.
| |
Execute |
Executes the chained operations.
(Inherited from ISubDocBuilderTDocument.) | |
ExecuteAsync |
Executes the chained operations.
(Inherited from ISubDocBuilderTDocument.) | |
Insert(String, Object, Boolean) |
Inserts an element into a JSON document at a given path.
| |
Insert(String, Object, SubdocPathFlags, SubdocDocFlags) |
Inserts an element into a JSON document at a given path.
| |
Remove(String) |
Removes an element or value from a JSON document at a given path.
| |
Remove(String, SubdocPathFlags, SubdocDocFlags) |
Removes an element or value from a JSON document at a given path.
| |
Replace(String, Object) |
Replaces an element or value within a JSON document at a given path.
| |
Replace(String, Object, SubdocPathFlags, SubdocDocFlags) |
Replaces an element or value within a JSON document at a given path.
| |
Upsert(String, Object, Boolean) |
Inserts or updates an element within or into a JSON document at a given path.
| |
Upsert(String, Object, SubdocPathFlags, SubdocDocFlags) |
Inserts or updates an element within or into a JSON document at a given path.
| |
WithCas(Int64) |
A "check-and-set" value for ensuring that a document has not been modified by another thread.
| |
WithCas(UInt64) |
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.
| |
WithTimeout |
The maximum time allowed for an operation to live before timing out.
|
Name | Description | |
---|---|---|
ArrayAddUniqueTDocument, 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.) | |
ArrayAppendTDocument, 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.) | |
ArrayInsertTDocument, 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.) | |
ArrayPrependTDocument, 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.) | |
CounterTDocument, TContent |
Increment or decrement a counter of type TContent in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) | |
InsertTDocument, TContent |
Insert a fragment of type TContent into a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) | |
RemoveTDocument, TContent |
Remove a fragment of type TContent from a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) | |
ReplaceTDocument, TContent |
Replace a fragment of type TContent in a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) | |
UpsertTDocument, TContent |
Update or insert a fragment of type TContent into a document of type TDocument,
using a given lambda expression path.
(Defined by SubdocExtensions.) |