I want to get the nested child objects like in the images but it is returning null. I want values of price and quantity and show them in table.
Check this database image here.
Code
var countRef = firebase.database().ref('Orders/' + listid);
countRef.on('value', snapshot => {
var b = snapshot.child("price").val();
var c = snapshot.child("quantity").val();
console.log(c);
});