couchbase
    Preparing search index...

    Class GetResult

    Contains the results of a Get operation.

    Index

    Properties

    Accessors

    Properties

    cas: Cas

    The CAS of the document.

    content: any

    The content of the document.

    expiryTime?: number

    The expiry of the document, if it was requested.

    Accessors

    • get expiry(): undefined | number

      BUG(JSCBC-873): This was incorrectly named at release.

      Returns undefined | number

      Use GetResult.expiryTime instead.

    • get value(): any

      BUG(JSCBC-784): This previously held the content of the document.

      Returns any

      Use GetResult.content instead.

    • set value(v: any): void

      Parameters

      • v: any

      Returns void