I'm trying to add data to an existing node i Firebase. But everytime I use UPDATE, SET or SETWITHPRIORITY, the existing data is removed. How do I add more ansers to my answer object?
{
question:
{
title:"What's your favorite food?",
answers:
{
answer:"pizza"
}
}
}
I have this right now...
quizzesRef.child(quizId + '/questions/question/answers').update({
answer:"sushi"});
push()for creating unique keys.