Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class LookupInSpecBuilder

    A builder for chaining together lookup specs into a JSON document.

    Inheritance
    object
    LookupInSpecBuilder
    LookupInSpecBuilder<TDocument>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class LookupInSpecBuilder

    Methods

    | Edit this page View Source

    Count(string, bool)

    Provides a count of a dictionary or list attribute given a JSON path.

    Declaration
    public LookupInSpecBuilder Count(string path, bool isXattr = false)
    Parameters
    Type Name Description
    string path

    The path to the JSON attribute.

    bool isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Edit this page View Source

    Exists(string, bool)

    Checks for the existence of a value given a path.

    Declaration
    public LookupInSpecBuilder Exists(string path, bool isXattr = false)
    Parameters
    Type Name Description
    string path

    The path to the JSON attribute.

    bool isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Edit this page View Source

    Get(string, bool)

    Fetches the value of an attribute for a given path.

    Declaration
    public LookupInSpecBuilder Get(string path, bool isXattr = false)
    Parameters
    Type Name Description
    string path

    The path to the JSON attribute.

    bool isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Edit this page View Source

    GetFull()

    Fetches the entire JSON document for a key.

    Declaration
    public LookupInSpecBuilder GetFull()
    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

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