I'm quite new to Cloud Firestore (aren't we all?) and I've added some data to my db using the admin SDK in Node.js. It shows up on the console, but under the doc it says "This document does not exist, it will not appear in queries or snapshots." I'm not sure why this is? Here's a screenshot:
要认识到的关键一点是,仅仅因为您在以下位置创建了文档root_collection > root_doc > sub_collection > sub_doc
并不意味着实际上有一个文档root_collection > root_doc
.
所以为了向您展示以下文件... > Events > 10-12-2017 > Phase Data
,控制台显示10-12-2017
就好像它是一个文档,但它让您知道该位置实际上没有文档。因此,如果您查询以下文档... > Events
, 10-12-2017
不会出现。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)