Firestore DB-以斜体显示的文件 [英] Firestore DB - documents shown in italics

查看:68
本文介绍了Firestore DB-以斜体显示的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以向我解释一下.我正在使用来自github的Firestore的node-firestore-backup-restore-master备份脚本.它可以正常工作,但只读取我在收藏集中的文档列表中的一个文档.它读取的内容为普通文本,其余为斜体,并以斜体形式显示一条消息,提示它们不存在且不会出现在查询中.

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.

当我从IOS应用程序查询而不是从Node.js备份脚本查询时,它们确实存在,并且出现了相关的文档和字段.

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.

有什么想法吗? 戴夫

推荐答案

如果使用子文档创建文档,然后从SDK中删除顶级文档,则删除操作不是递归的.因此,当顶级文档消失时,其子文档仍然保留.

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.

这些文档的ID在用户界面中显示为斜体ID:这些文档实际上并不存在,但是我们将其显示出来,以便您可以导航到子集合.

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.

这篇关于Firestore DB-以斜体显示的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆