How to get more than one collection's documents data?
my firebase tree is like : "tahminler/'useruid'/'date as like (5.3.2018 or 6.3.2018)'/'documentID'/'Document data'"
so how to take all dates collection's documents in a function and here is my firebase firestore console:
答案 0 :(得分:1)
Firestore没有办法在多个集合中进行单个查询。您必须单独查询每个集合,然后将结果合并到客户端代码中。
如果能够针对您需要的所有内容进行单一查询非常重要,请考虑重组或复制数据以适应该查询。