【发布时间】:2020-07-19 03:47:42
【问题描述】:
docs = db.collection(u'scylla').where('status', '==', 0).order_by('last_time').limit(10).stream()
for doc in docs:
print(doc.id, doc.get('last_time'))
为什么我创建索引时不起作用
【问题讨论】:
-
请显示相关代码并说明确切的问题或错误。终端错误信息不足。另见How to create a Minimal, Complete, and Verifiable example。我不清楚您的问题是在单击提供的链接以创建索引后发生还是您手动创建索引。
标签: python google-cloud-firestore