Use firestore's FieldPath.documentId() in within nested object
问题 This is how my data is structured: So an element has a cluster object and the cluster object has a tags object with one or more tag objects. This is inline with firebase's denormalized data structure Explained here. (We use multi path updates and lookup tables to keep data consistent, this means tags cant be an array!) I would like to query on the document id's of the nested tags object. I know that firestore.FieldPath.documentId() returns the document id and one can use it in a query like so