Certain Collections Return Empty Object
See original GitHub issueGreat tool, has worked well out of the box. I’m curious if you can shed any light on an issue I’m running into. Most collections I am able to get back up data from, but not all. I created a testing collection, with subCollections and all types of data in it… and everything was gathered properly. For whatever reason, an existing collection that I had defined will not return any information, and I just get an empty object. It only appears to be having troubles with this one collection, which has a subCollection and then another subCollection nested in it.
This is working great. I get information on my newly created testing collection.
backups().then((data) => { // parse backup JSON var json = JSON.stringify(data); })
But, when running on my companies collection, I get back an empty object:
{"companies":{}}
I can provide more details as needed but wanted to see if you can point me in a direction as to why specific collections return an empty object.
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
Figured it out! Our existing collection was created with deep paths originally, and I guess that doesn’t actually create the top-level documents.
Non-Existent Ancestoral Documents don’t show up in queries.
Thanks for your help in the matter, I believe all is well.
Wow, good to know the causes. I’m glad that you figured it out.