Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example: Insert data

use demo
db.simple.insert({ "name" : "foo", "cnt" : 3 })
db.simple.insert({ "name" : "foo", "cnt" : 4 })
db.simple.insert({ "name" : "foo", "cnt" : 5 })
db.simple.insert({ "name" : "bar", "cnt" : 5 })
db.simple.insert({ "name" : "bar", "cnt" : 9 })