In a database from Firebase, I need to update the value open and pass it to false for all child. How I can do it in Javascript ? Something like this
let dbCon = firebase.database().ref("/messages/" + *);
dbCon.update({
open: false
});
See Question&Answers more detail:os