I\'ve got a database that looks like this:
I want to reset the Patient_List and Current_Token children to 0 at a particular time (
Only use the general ref, and before that reference all nodes that you want to update, just like this:
var gralRef = firebase.database().ref();
var obj_update={};
obj_update[`users/${firstuser}/name`]='John';
obj_update[`users/${seconduser}/name`]='Mark';
obj_update[`users/${seconduser}/address`]='New York';
gralRef.update(obj_update);