Hello Pisco,
What you have here is close, but you shouldn’t be calling dbobject.on('value') twice (it gets called again inside the callback for the first invocation). And since these are realtime data streams, you probably want to work with child_added instead of value anyway.
Reading data from a list is covered here. Check out that doc and our samples for some pointers.
☼, Kato
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7063bfd1-75da-46da-9e53-0b5395bb1597%40googlegroups.com.