Skip to content

Glossary: MongoDB

MongoClient

The driver's class that connects to the server. Make one per app, pick a database with `client.db()` and close it in `finally`.

Where the book teaches it

Related terms

DriverConnection pool