我需要能够从满足特定条件的云firestore数据库中检索一些数据,然后对这些数据进行排序,但我无法执行查询。我读过,如果你只是运行查询,那么你的日志应该会提供一个自动创建自定义索引的链接,但不幸的是,在我的flutter日志或android studio logcat中,我没有得到任何链接。firestore.collection('
在我的防火墙数据库中,有日期时间表。例如:due_to :2022년 11월 2일 오전 3시 11분 22초 UTC+9 .where('due_to',isLessThanOrEqualTo:Timestamp.fromDate(DateTime.now()))
.orderBy('vote', d
我试图按照整数字段对存储在Firestore中的文档进行排序,但是在尝试这样做时,我得到了这个错误。type Query is not a subtype of type Collection Referencefinal CollectionReference timetableCollection= Firestore.instance.collection('timetables').orderBy('Period');
其中