0
I’m doing a test on firebase
and I’m having a hard time retrieving the data from the JS database.
The structure of the table is as follows:
Scores
- key
- name
- points
- key
- name
- points
What I want is to return the colors of certain name for example, but I just want to recover all the data and manipulate them, I do not want to connect those listeners child_added
, child_removed
. It is possible to do this?
I tried that:
firebase.database().ref('scores').orderByChild('name').equalTo('Fulano');
And returns me an object from firebase, but I do not know how to manipulate it and whether this search is correct.