Deletes a collection, including all items and indexes
db.deleteCollection("users").then(() => { console.log("deleteCollection:", "ok"); }).catch((error) => { console.log("error:", error); });
Last updated 1 year ago
name
String The name for the collection