Firebase添加orderByValue()查询

时间:2018-09-19 05:19:11

标签: angular firebase

this.fbClient.getAllScores().subscribe((scores) => {
   this.scores = scores;
})

得分console.log是:

{
    0: {name: "Admin", photoUrl: "", score: 0}
    0: {name: "User", photoUrl: "", score: 10}
}

我想添加表示最大价值首先呈现的查询

0 个答案:

没有答案