Constructor
new FieldPath(…segments)
Constructs a Firestore Field Path.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
segments |
string |
<repeatable> |
Sequence of field names that form this path. |
Methods
isEqual(other) → {boolean}
Returns true if this FieldPath
is equal to the provided value.
Parameters:
Name | Type | Description |
---|---|---|
other |
* |
The value to compare against. |
Returns:
Type | Description |
---|---|
boolean |
true if this |
(static) documentId() → {FieldPath}
A special FieldPath value to refer to the ID of a document. It can be used in queries to sort or filter by the document ID.
Returns:
Type | Description |
---|---|
FieldPath |