Hello there,
sorry if the title is not good enough to describe the situation here.
anyhow, am trying to access values inside an object retrieved using
.once('value',function(snapshot) {
...
})
the object retrieved as follow:
when i access snapshot.val() i get it as the picture when i try to access the type for example
snapshot.val().type its undefined,
i think i have to go through snapshot.val().(key).type
and since its random key generated by firebase in insertion how can i access the value?