0
我有一个非常类似的问题,这个帖子与日期时间使用.startAt() - Firebase Query filtered by creation time and where date is greater than now无法以毫秒为单位
我存储在一个“消息”我的日期,我想检索当前时间之后的所有消息。
此查询的工作:
Query myTopPostsQuery = mFirebaseDatabaseReference.child(MESSAGES_CHILD).orderByChild("time");
该查询返回数据:
Query myTopPostsQuery = mFirebaseDatabaseReference.child(MESSAGES_CHILD).orderByChild("time").startAt(System.currentTimeMillis());
这看起来像它应该工作,但是从the docs我想知道如果这是一个数据类型的问题?