A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mongodb.com/docs/mongodb-shell/crud/ below:

Perform CRUD Operations - mongosh

CRUD operations create, read, update, and delete documents.

Create or insert operations add new documents to a collection. If the collection does not exist, create operations also create the collection.

You can insert a single document or multiple documents in a single operation.

For examples, see Insert Documents.

Read operations retrieve documents from a collection; i.e. query a collection for documents.

You can specify criteria, or filters, that identify the documents to return.

For examples, see Query Documents.

Update operations modify existing documents in a collection. You can update a single document or multiple documents in a single operation.

You can specify criteria, or filters, that identify the documents to update. These filters use the same syntax as read operations.

For examples, see Update Documents.

Delete operations remove existing documents from a collection. You can remove a single document or multiple documents in a single operation.

You can specify criteria, or filters, that identify the documents to remove. These filters use the same syntax as read operations.

For examples, see Delete Documents.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4