Oracle® Backend For Firebase JavaScript Namespace SDK Reference, Release 26.1.0
    Preparing search index...
    Oracle® Backend For Firebase JavaScript Namespace SDK Reference
    Release 26.1.0

    G48197-02

    FieldPath - It is used to refer to a field in a document. The path can consist of one field name or can be a list of field names referring to nested fields in the document.

    Index

    Constructors

    • Creates a new FieldPath instance.

      Parameters

      • ...fieldNames: string[]

      Returns FieldPath

    Methods

    • Checks whether this FieldPath is equal to the provided one. the specified path.

      Parameters

      Returns boolean

      Returns true if both points to the same field.

      Throws an error if fb is not a FieldPath instance.

    • Get the path string pointing to the field.

      Returns string

      Returns the path string.

    • Creates a FieldPath instance for document ID.

      Returns FieldPath

      A new FieldPath instance to refer to the ID of a document