Update an existing document
const ref = adamite()
.database()
.collection("projects")
.doc("documentId")const projects =
await adamite()
.database()
.collection("projects")
.get();
const ref = projects.docs[0].ref;await ref.update({
name: "Some other name"
});Last updated
Was this helpful?