MongoDB Cheatsheet
MongoDB Cheatsheet
show collections Show collections from a database { subkey: value } Search with subdocument
it Type "it" to see more documents after the $exists:Boolean Check if property exists or not
prev command
$mod:[D,R] Checks if a property divided by D has the specified R
.find(query[,fields]) Find all documents by conditions, with
$type:Int Checks if property is the specified type
optional fields selection
Expr = Expression
AOE = Array Of Expressions
( eg: Expression = price : 20 )