Getting Started with MongoDB & Rust
summary
MongoDB ships a fully supported Rust driver (rewritten for async, supports Tokio & Async-Std, current 1.0+ release) plus a separate bson crate with Serde integration; code examples show inserting documents, using find with sort and batch-size, and an aggregation pipeline that does a lookup join from recipes to reviews (Compass shows it emits six vodka recipes). Driver lacks transactions and change-stream watch support yet; documents are limited to 16 MB and updates can push reviews into arrays atomically.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 4:29Rust credentials
- 6:33MongoDB
- 8:59Document Database
- 11:39MongoDB vs BSON
- 12:54Async Runtime
- 13:37Data
- 15:00Recipe Documents
- 16:10Type Definitions
- 17:16Dynamic Document Structures
- 17:55Reviews
- 18:44MongoDB Client
- 20:03Insert Data
- 20:30Find
- 21:26Find Options
- 22:20Find Documents by Name
- 23:09Getting Data from a Document
- 25:21Query Language
- 27:37Aggregation Pipeline
- 28:54Compass
- 30:22Lookup
- 32:01Visual Illustration
- 32:55Using Compass
- 35:17Managing Aggregator Pipelines
- 37:11Update Operations
- 38:40Upcoming Driver Features
- 39:59Other MongoDB Features
related talks
23m“Rustify Your API: A Journey from Specification to Implementation”
48mGetting Non-Relational with MongoDB
25mIntro and Overview to Rust
35mPainless Data Storage with MongoDB and Go
30mLessons from 4 Years of writing the driver for MongoDB
41mGetting the Most out of MongoDB
45mMongoDB
01h 34mThe Spring Data MongoDB Project
