MongoDB console cheatsheet
11 Jan 2013
Basic retrieves
Find all items in a collection
Count all items in a collection
Find all items in a collection with criteria (Mongo operators reference)
Reduce the field-set returned by a query
Sorting by a field
Limit the number of records returned by a query
Skip over a set of documents
List processing
Map over a cursor of results
Iterate over a cursor of results
Updates
Update over an enumerated list
Update from a query (Mongo update reference)
Deleting
Destroy an entire collection
Delete a document selectively
Utilities
Set the record limit returned to the console