Firebase Unity:OrderByChild()。StartAt()。EndAt()不返回任何内容

时间:2018-12-10 02:16:33

标签: c# firebase unity3d firebase-realtime-database

此查询每次均不返回任何内容。我想念什么?谢谢!

查询:

Query query = FirebaseDatabase.DefaultInstance.GetReference("submissions").
OrderByChild("Time").StartAt(100000000).EndAt(999999999).LimitToFirst(10);

数据结构:

{
    "submissions": {
        "key1": {
            "Time": 100000001
        },
        "key2": {
            "Time": 100000005
        }
    }
}

致电:

query.GetValueAsync().ContinueWith(task => {});

0 个答案:

没有答案