例如,我为我的书籍列表设置了动态过滤器,可以在其中设置特定的 colored颜色 、作者和类别.
Book > Red, Blue > Adventure, Detective.
如何有条件地添加"where"?
firebase
.firestore()
.collection("book")
.where("category", "==", )
.where("color", "==", )
.where("author", "==", )
.orderBy("date")
.get()
.then(querySnapshot => {...