Firestore DB - documents shown in italics

后端 未结 3 1122
无人及你
无人及你 2020-11-28 15:27

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 docume

3条回答
  •  -上瘾入骨i
    2020-11-28 15:32

    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.

提交回复
热议问题