documentIdReturns 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. function documentId(): FieldPath;§documentId(): FieldPath[src]§Return Type§FieldPath[src]