【发布时间】:2019-09-16 09:35:25
【问题描述】:
有没有办法有一个“空”的 where 查询(搜索任何东西)。
拥有
db.collection('skies').where('sky','==','blue')
现在我必须做
if (searchForAny){
db.collection('skies').otherStuff();
}
else {
db.collection('skies').where('sky','==','blue').otherStuff();
}
【问题讨论】:
标签: google-cloud-platform google-cloud-firestore