Firestore Query - Joining two collections

后端 未结 1 545
耶瑟儿~
耶瑟儿~ 2020-12-09 23:41

I am new to firestore. I want to get the name from a different collection by using join query by ID. How can I do that in firestore?

Here is some sample collection.<

相关标签:
1条回答
  • 2020-12-09 23:59

    Firestore has no join queries. If you want to combine the data from two documents, you will have to query them individually, then compose your response based on the data from both.

    0 讨论(0)
提交回复
热议问题