Creates a new collection where data will be stored
db.createCollection("users").then(() => { console.log("createCollection:", "ok"); }).catch((error) => { console.log("error:", error); });
name
String The name for the collection
Last updated 1 year ago