Environment and Identifier Functions

  • Capella Columnar
  • reference
March 23, 2025
+ 12
This topic describes the builtin SQL++ for Capella columnar environment and identifier functions.

meta

The meta function applies only to remote Couchbase collections.
  • Syntax:

    meta(expr)
    meta()
  • Return a metadata object for a stored document.

  • Arguments:

    • expr : an expression returning a stored document

    • none, if the stored document can be determined from the context

  • Return Value:

    • a metadata object containing fields id, vbid, seq, cas, and flags.

uuid

  • Syntax:

    uuid()
  • Generates a uuid.

  • Arguments:

    • none

  • Return Value:

    • a generated, random uuid.