mongodb-the-definitive-guide-3e
Code Examples:
The code examples are available below and ordered sequentially as they appear in the book. The code examples are saved as Markdown files to enhance the rendering in Github, however these should be directly copy and pastable to your machine.
Several chapters have no associated code examples or data in this repository. This is also the case for some examples in some chapters. These are left as an exercise for the reader in terms of the example code. In terms of missing data sets, there are not possible to share due to copyright issues.
- Chapter 2 - Getting Started
- Chapter 3 - Creating, Updating, and Deleting Documents
- Chapter 4 - Querying
- Chapter 6 - Special Index and Collection Types
- Chapter 8 - Transactions
- Chapter 10 - Setting Up a Replica Set
- Chapter 12 - Connecting to a Replica Set from Your Application
- Chapter 14 - Introduction to Sharding
- Chapter 16 - Choosing a Shard Key
- Chapter 18 - Seeing What Your Application Is Doing
- Chapter 20 - Durability
- Chapter 22 - Monitoring MongoDB