A document belonging to a Collection with an inner value.

Not available in React Native environments.

Accessors

Methods

Accessors

  • get id(): DocumentID
  • Returns the document ID.

    Returns DocumentID

    when called in a React Native environment.

  • get path(): DocumentPath
  • Returns the document path at the root of the document.

    Returns DocumentPath

    when called in a React Native environment.

  • get value(): DocumentValue
  • Convenience property, same as calling path.value. The value is cached on first access and returned on subsequent calls without calling path.value again.

    Returns DocumentValue

    when called in a React Native environment.

Methods

  • Convenience method, same as calling path.at().

    Parameters

    • keyPathOrIndex: string | number

    Returns DocumentPath

    when called in a React Native environment.

  • Returns a hash that represents the passed in document(s).

    Parameters

    Returns BigInt

    when called in a React Native environment.

  • Returns a pattern of words that together create a mnemonic, which represents the passed in document(s).

    Parameters

    Returns string

    when called in a React Native environment.