MongoDB 8 · Create, read, update, delete
Insert several documents
Add an array of documents in one call.
db.users.insertMany([{ name: "Grace" }, { name: "Linus" }])
Official MongoDB 8 documentation
More create, read, update, delete commands
- Insert a document
- Find all documents
- Find with a filter and projection
- Find one document
- Sort and paginate
- Count matching documents
All create, read, update, delete commands · MongoDB 8 cheatsheet