Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

orderbychild firebase react

firebase.database().ref('items/').orderByChild('letter').on('value', snapshot => {
    snapshot.forEach(c => { i = c.val(); console.log(i.number, i.letter, i.date) })
})
 
PREVIOUS NEXT
Tagged: #orderbychild #firebase #react
ADD COMMENT
Topic
Name
9+8 =