📜  orderbychild firebase react - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:34.261000             🧑  作者: Mango

代码示例1
firebase.database().ref('items/').orderByChild('letter').on('value', snapshot => {
    snapshot.forEach(c => { i = c.val(); console.log(i.number, i.letter, i.date) })
})