Can someone explain this to me. I am working with node-firestore-backup-restore-master backup script for Firestore from github. Got it working but it only reads one document of the list of documents I have in a collection. The one it reads is in normal text the remaining are in italics and a message for the ones in italics says they don't exist and wont appear in queries.
They do exists and the associated documents and fields that appear when I query from my IOS app but not from the Node.js backup script.
Any thoughts?? Dave
If you create documents with sub-documents and then delete the top level document from an SDK, the delete is not recursive. So while the top-level document is gone, its sub-documents remain.
The document IDs for these are shown as italicized ids in the UI: these documents do not actually exist, but we show them so that you can navigate to the sub collections.
Since there is no document anymore, the document itself will not show up in query results.
来源:https://stackoverflow.com/questions/48137582/firestore-db-documents-shown-in-italics