Class MutateInSpec
Assembly: Couchbase.NetClient.dll
Syntax
public class MutateInSpec : OperationSpec, IEqualityComparer
Constructors
|
Edit this page
View Source
MutateInSpec()
Declaration
[Obsolete("Use MutateInSpec static factory methods.")]
public MutateInSpec()
Methods
|
Edit this page
View Source
ArrayAddUnique<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec ArrayAddUnique<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayAppend<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec ArrayAppend<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayAppend<T>(string, T[], bool, bool, bool)
Declaration
public static MutateInSpec ArrayAppend<T>(string path, T[] values, bool createPath = false, bool isXattr = false, bool removeBrackets = true)
Parameters
Type |
Name |
Description |
string |
path |
|
T[] |
values |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayInsert<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec ArrayInsert<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayInsert<T>(string, T[], bool, bool, bool)
Declaration
public static MutateInSpec ArrayInsert<T>(string path, T[] values, bool createPath = false, bool isXattr = false, bool removeBrackets = true)
Parameters
Type |
Name |
Description |
string |
path |
|
T[] |
values |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayPrepend<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec ArrayPrepend<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
ArrayPrepend<T>(string, T[], bool, bool, bool)
Declaration
public static MutateInSpec ArrayPrepend<T>(string path, T[] values, bool createPath = false, bool isXattr = false, bool removeBrackets = true)
Parameters
Type |
Name |
Description |
string |
path |
|
T[] |
values |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
Decrement(string, long, bool, bool, bool)
Declaration
[Obsolete("Use the Decrement overload which accepts an unsigned long. Negative signed long deltas may produce unexpected results.")]
public static MutateInSpec Decrement(string path, long delta, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Returns
|
Edit this page
View Source
Decrement(string, ulong, bool, bool, bool)
Declaration
public static MutateInSpec Decrement(string path, ulong delta, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Returns
|
Edit this page
View Source
Increment(string, long, bool, bool, bool)
Declaration
[Obsolete("Use the Increment overload which accepts an unsigned long.")]
public static MutateInSpec Increment(string path, long delta, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Returns
|
Edit this page
View Source
Increment(string, ulong, bool, bool, bool)
Declaration
public static MutateInSpec Increment(string path, ulong delta, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Returns
|
Edit this page
View Source
Insert<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec Insert<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
Remove(string, bool, bool)
Declaration
public static MutateInSpec Remove(string path, bool isXattr = false, bool removeBrackets = false)
Parameters
Returns
|
Edit this page
View Source
Replace<T>(string, T, bool, bool)
Declaration
public static MutateInSpec Replace<T>(string path, T value, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
|
Edit this page
View Source
SetDoc<T>(T)
Declaration
public static MutateInSpec SetDoc<T>(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
|
Edit this page
View Source
Upsert<T>(string, T, bool, bool, bool)
Declaration
public static MutateInSpec Upsert<T>(string path, T value, bool createPath = false, bool isXattr = false, bool removeBrackets = false)
Parameters
Type |
Name |
Description |
string |
path |
|
T |
value |
|
bool |
createPath |
|
bool |
isXattr |
|
bool |
removeBrackets |
|
Returns
Type Parameters
Implements