Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

firebase js loop

firebase.database().ref('interests').child("I would like to dine with").on('value', (snapshot) => {
  snapshot.forEach((child) => {
    console.log(child.key, child.val()); 
    this.intVal.push(child.val());
    console.log("intVal",this.intVal);
  });
  }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #firebase #js #loop
ADD COMMENT
Topic
Name
9+4 =