Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get all database react native

var recentPostsRef = firebase.database().ref('/store');
recentPostsRef.once('value').then(snapshot => {
  // snapshot.val() is the dictionary with all your keys/values from the '/store' path
  this.setState({ stores: snapshot.val() })
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #database #react #native
ADD COMMENT
Topic
Name
8+5 =