Class GetResult

Contains the results of a Get operation.

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

    Deprecated

    Use GetResult.expiryTime instead.

  • get value(): any
  • BUG(JSCBC-784): This previously held the content of the document.

    Returns any

    Deprecated

    Use GetResult.content instead.

  • set value(v): void
  • Parameters

    • v: any

    Returns void