Skip to content

How to query a nested collection #167

Answered by WolfgangSenff
BearDooks asked this question in Q&A
Discussion options

You must be logged in to vote

@DanielVZ96 - the key here is to have a reference down into the nested collection itself already. At the moment, if there is a nested collection and you have the parent document, you cannot get documents inside the nested collection. The team will be discussing how to handle that scenario, if we even want to, but I do not have a good bit of sample code to show you - just have to play around and make sure your path nests all the way to the correct document.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WolfgangSenff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants