Home > @firebase/firestore > / > documentId
documentId() function
Returns a special sentinel FieldPath
to refer to the ID of a document. It can be used in queries to sort or filter by the document ID.
Signature:
export declare function documentId(): FieldPath;
Returns: