javascript - Getting pushed key value in node js firebase -


my database structure following,

child{       0{         name:true        },       1{         name2:true        }     } 

i want index number (i.e. 0,1) . know name(name,name2)

i tried following code it's returning null. and

my firebase value event listener following not working , have name of key value.

ref.push().child(name).once("value",function(snapshot){  }); 

. need . thank you.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -