Reputation: 35
below is my Requests table which contain 'drinks' and '0' (0 equal to quantity of drink). However, I need to save some more data under 'drink'>'0'>'topping'.
Do you guys have any ides on how do I save data into 'topping' using database.getReference("topping");
Thanks in advance
Upvotes: 0
Views: 35
Reputation: 26
Use the child after getReference()
database.getReference.child(1511377584775).child(drink).child("topping");
Upvotes: 1