> This page location: /docs.md > /docs/tools-and-connectors.md > /docs/mongodb-vscode.md > /docs/mongodb-vscode/playgrounds.md

> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# Perform CRUD Operations with VS Code

Documents are individual records in a MongoDB collection and are the basic unit of data in MongoDB.

You can use a MongoDB Playground to perform CRUD (create, read, update, and delete) operations on documents in a collection on a [connected deployment.](https://www.mongodb.com/docs/mongodb-vscode/connect.md)

Use the [MongoDB CRUD Operators](https://www.mongodb.com/docs/manual/crud/) and [shell methods](https://www.mongodb.com/docs/manual/reference/method/) to interact with your databases in MongoDB Playgrounds.

**Note:**

You can also use your application to perform CRUD operations on documents using the appropriate [driver](https://www.mongodb.com/docs/drivers/). Playgrounds are meant to help you prototype database operations as you develop your application.

## Open a Playground to Perform CRUD Operations

Before you can create, read, update, and delete documents using a MongoDB Playground, you must open one.

1. Open the Visual Studio Code Command Palette.

   In Visual Studio Code, press one of the following key combinations:

   - Control + Shift + P on Windows or Linux.

   - Command + Shift + P on macOS.

   The Command Palette provides quick access to commands and keyboard shortcuts.

2. Find and run the "Create MongoDB Playground" command.

   Use the Command Palette search bar to search for commands. All commands related to VS Code Extension are prefaced with MongoDB:.

   When you run the MongoDB: Create MongoDB Playground command, VS Code Extension opens a default playground template pre-configured with a few commands.

   **Note:**

   To load new Playgrounds without the template, disable the Use Default Template For Playground setting. To learn more about VS Code Extension settings, see [Visual Studio Code Settings.](https://www.mongodb.com/docs/mongodb-vscode/settings.md#std-label-vsce-settings)
