提问人:kee 提问时间:9/12/2018 最后编辑:Doug Stevensonkee 更新时间:9/12/2018 访问量:185
Firestore:如何对多个 firestore 返回的文档进行重复数据删除。Client().collection
Firestore: How to dedupe documents returned by multiple firestore.Client().collection
问:
在我的 Python 代码中,我从 Firestore 获取多个文档(我需要执行 OR,但不支持它,因此而是单独运行并将它们组合):
db = firestore.Client()
docs1 = db.collection("test").where(column1, '>=', value1)
docs2 = db.collection("test").where(column2, '>=', value2)
docs3 = db.collection("test").where(column3, '>=', value3)
在这里我不确定如何组合 docs1、docs2 和 docs3?当我打印字体时,它说“生成器”对象或其他东西。如何对它们进行重复数据删除?
答: 暂无答案
评论
doc.id