Introduction to MongoDB
Introduction
Downloading
Package Content
First Run
Command Line Options
Install As Service
Verify Server
Database is Namespace
Getting Help in the Shell
Replica Sets
Configuring a Replica Set
Verifying Replication Works
Replica Set Failover
The Mongo Shell
Shell Role in Ecosystem
Shell Modes
Shell Invoking Syntax
Using Eval
Substantial Scripts
Execute Script Before Enter
Shell Keys and Shortcuts
Multiline Editing
External Editor Integration
Load Script from Within
User RC File
Common Safety Usage Tip
Shell Alternatives
Saving Data
Overview
Storage
BSON
Saving Documents
Collections
Document Id
ObjectId
Insert
Insert with Id
Complex Document
Save Danger
Update Command
Update Demo
Set Operator
Unset Operator
Rename Operator
Push Operator
Pull Operator
Pop Operator
Array Type
Multi Update
Find And Modify
Query With Sort
Demo Find And Modify
Documentation
Finding Documents
Introduction
Overview
find()
Equality
Projection
Comparison
$not
$in
Arrays
$all
$nin
Dot Notation
Sub-Document
null and $exists
And
More Projection
Cursor
sort()
limit()
skip()
findOne()
Indexing
Overview
Scan Is Bad
Index Theory
Sort Uses Index
Index Types
Create Index
system.indexes collection
explain()
nscanned
Multi-Term Query
Comparison
Scanned vs. Returned
dropIndex()
Nested Fields
Array Field
Sort
Unique
Sparse
Compound
Sort Direction
Covering Index
Dead Weight
Background build
Index Name
Conclusion