Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class MutateInSpec

    Inheritance
    object
    OperationSpec
    MutateInSpec
    Implements
    IEqualityComparer
    Inherited Members
    OperationSpec.Path
    OperationSpec.OpCode
    OperationSpec.Value
    OperationSpec.PathFlags
    OperationSpec.Equals(object)
    OperationSpec.Equals(object, object)
    OperationSpec.GetHashCode(object)
    OperationSpec.GetHashCode()
    OperationSpec.ToString()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.KeyValue
    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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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
    Type Name Description
    string path
    long delta
    bool createPath
    bool isXattr
    bool removeBrackets
    Returns
    Type Description
    MutateInSpec
    | 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
    Type Name Description
    string path
    ulong delta
    bool createPath
    bool isXattr
    bool removeBrackets
    Returns
    Type Description
    MutateInSpec
    | 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
    Type Name Description
    string path
    long delta
    bool createPath
    bool isXattr
    bool removeBrackets
    Returns
    Type Description
    MutateInSpec
    | 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
    Type Name Description
    string path
    ulong delta
    bool createPath
    bool isXattr
    bool removeBrackets
    Returns
    Type Description
    MutateInSpec
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Remove(string, bool, bool)

    Declaration
    public static MutateInSpec Remove(string path, bool isXattr = false, bool removeBrackets = false)
    Parameters
    Type Name Description
    string path
    bool isXattr
    bool removeBrackets
    Returns
    Type Description
    MutateInSpec
    | Edit this page View Source

    ReplaceBodyWithXattr(string)

    Declaration
    public static MutateInSpec ReplaceBodyWithXattr(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    MutateInSpec
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    SetDoc<T>(T)

    Declaration
    public static MutateInSpec SetDoc<T>(T value)
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    MutateInSpec
    Type Parameters
    Name Description
    T
    | 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 Description
    MutateInSpec
    Type Parameters
    Name Description
    T

    Implements

    IEqualityComparer
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.