Firestore复合查询中的startAt()和endAt()方法的第二个参数不起作用

时间:2019-02-07 17:21:30

标签: android google-cloud-firestore

model ConstantTest
  parameter Real h = 2;
  const Real k;
initial equation
  k*k=h; // just an example of an implicit equation, which in this simple case could also be written explicitly
end ConstantTest;

我想通过“  最后更新日期”,然后按“测试日期”排序,然后获取其测试日期大于当前日期(即仅即将到来的测试日期)的文档。

日期存储为长值

但是,无论我在startAt()和endAt()函数中使用第二个参数如何,查询都将得到相同的结果(尽管更改第一个参数是可行的)。

为什么第二个参数不起作用?或建议其他查询来完成我的工作。

My database screenshot

0 个答案:

没有答案
相关问题