Number of items in the collection
console.log(db.collection("users").length);
Last updated 2 years ago
Was this helpful?