Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mrwill = db.collection('scc').doc('demo')
- mrwill.update({
- roomname: "true"
- })
- .then(function() {
- return console.log("Document successfully updated!");
- })
- .catch(function(error) {
- // The document probably doesn't exist.
- return console.error("Error updating document: ", error);
- });
- mrwill = db.collection('scc').doc('demo')
- mrwill.set({ any_data:"HELLOOOOOOOO ",roomname: "true"});
Add Comment
Please, Sign In to add comment