MongoDB playground

db.employees.find({
  department: "hr"
});

MongoDB is a source-available document-oriented (NoSQL) database engine.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

MongoDB version:    8.0
sandbox engine:     codapi
sandbox name:       mongodb
allowed commands:   run
in-browser:         ✘

Usage example:

```js
db.world.insertOne({ message: "hello" });
db.world.find({});
```

<codapi-snippet sandbox="mongodb" editor="basic">
</codapi-snippet>

Documentation