0
0
KKKhalid Khan
The above code uses the firebase.database().ref() method to create a new reference to an existing database. The first argument is the path to the database to reference. The second argument is a {"attribute value":"} pair which sets the value of the specified attribute in the database to the value specified.
Shortcut: firebase.set
firebase.database().ref(/* path */).set({,
/* "attribute value */",
});