Delete a document
const ref = adamite()
.database()
.collection("projects")
.doc("documentId")const projects =
await adamite()
.database()
.collection("projects")
.get();
const ref = projects.docs[0].ref;await doc.delete();Last updated
Was this helpful?