Consider adding '".indexOn": "timestamp"' at users/4Gc9OgFWw5hwr2YFxbfwLgyAp1V2/posts to your securityand Firebase Database rules
这是我试图添加到数据库中的规则:"rules": { "
我有一个从Firebase实时数据库检索的content节点。我利用.orderByChild("time")获取前5个博客对象的数据快照,按最早的时间戳排序。目前,.indexOn不起作用,检索数据时,数据不是按时间字段排序的。进行查询 // this along with the Firebase rules below does not return the same result as above
// startAt.child("conten