Couchbase .NET SDK | 3.4.4
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>
    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class LookupInSpecBuilder : object

    Methods

    | Improve this Doc View Source

    Count(String, Boolean)

    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.

    Boolean isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Improve this Doc View Source

    Exists(String, Boolean)

    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.

    Boolean isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Improve this Doc View Source

    Get(String, Boolean)

    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.

    Boolean isXattr

    true if the path is an xAttr; otherwise false.

    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    | Improve this Doc View Source

    GetFull()

    Fetches the entire JSON document for a key.

    Declaration
    public LookupInSpecBuilder GetFull()
    Returns
    Type Description
    LookupInSpecBuilder

    A LookupInSpecBuilder for chaining specs.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 Couchbase, Inc.