MongoDB TutorialLesson 25Free preview
MongoDB Drivers
This lesson is part of MongoDB · All levels
Summary
This lesson introduces the MongoDB driver, a library that allows applications to talk to the database through their respective languages. There are drivers available for JavaScript, Python, Java, Go, PHP, C#, and more. The common thread is the same: it connects via a connection string, selects the database and collection, and then runs the CRUD operation. (Node.js)
Key points
- The driver connects the application to MongoDB through their respective languages
- Connection string mongodb:// or mongodb+srv:// used to connect
- Popular drivers are available for Python, Java, Go, PHP, and C# (Node.js)
- General path: connect, select the database, select the collection, then the CRUD operation
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.