Here's a very simple question but I can not find an answer anywhere, so hopefully I I can get the answer again by using the keys used in my database:
} {// X is the main object I need}However, to do this, I need the actual object of the database, the database Not Ndrb. Because when I repeat on the reference, I get a lot of nonsense, so how do I get all the keys by adding personal ones? Hopefully my question comes out.
This can be done like this:
var value; MyDataRef.on ('value', function (snapshot) {value = snapshot.val ();})
Comments
Post a Comment