Topic List | Page List: 1 |
---|---|
Topic | Has anyone here used firebase? How can I snapshot what I want from firebase? |
Milkman5 12/04/17 4:26:50 AM #1: | I can't figure it out, it's such a nightmare. got this atm var ref = firebase.database().ref(); ref.child('users').orderByChild('email').equalTo(this.parentEmail).on("value", function(snapshot) { console.log(snapshot.val()); }); I can get the whole user info by their email, but I want to set a variable as a specific value from a value stored within that user ... Copied to Clipboard! |
Topic List | Page List: 1 |