Shell 與 Driver
Splitting Work Between the Driver & the Shell
Shell 及 Driver 有其各自適合的操作,若能根據目的選擇工具將使開發更加順暢。
適合 Shell 的操作
- Configure Database
- Create Collections
- Create Indexes
適合 Driver 的操作
- CRUD Operations
- Aggregation Pipelines
Installing the Node.js Driver
欲使用 MongoDB Driver,可從官方網頁找尋特定程式語言的使用說明。
MongoDB Driver 官方文件不僅有安裝說明,也有 API 使用說明。
MongoDB Drvier 官方文件(以 Node.js 為例)