Delete a Document
In order to delete a document you need to know the document id.
const deleteDoc = async () => {
const docId = "Player/George"
await client.deleteDoc({id:docId});
console.log(`the ${docId} has been deleted`)
}
In order to delete a document you need to know the document id.
const deleteDoc = async () => {
const docId = "Player/George"
await client.deleteDoc({id:docId});
console.log(`the ${docId} has been deleted`)
}