Retrieve key and field-specific value in Firebase

0

Please, I would like to recover only the key and email from the list, ignoring the other "fields". I wanted to have a list, without loading all the values of all nodes, as I have done lately.

How to achieve this with javascript?

    
asked by anonymous 31.07.2017 / 05:43

1 answer

0

There is no such option. What you can do is just map these fields with a Json just for this purpose, and start recording the records in both the complete structure and the one I'm proposing. This way you will have two structures available for reading / writing.

    
24.10.2017 / 16:56