show dbs
use nom_bd
db
db.nom_table.insert({nom_champ : "valeur", … })
db.nom_table.remove({…}) //pour critère id : _id : ObjectId("…")
db.nom_table.find() //ou avec critères
db.nom_table.update({ _id : ObjectId("") }, { $set { nom_champ : "valeur" } }) //sans $set, reprendre tous les champs
db.dropDatabase()
db.nom_table.drop()

$) mongodump/restore --db nom_base –archive=nom_fichier.mgoarch

db.movement.mapReduce(function() { emit(this.account_id, this.amount); }, function(key, values) { return Array.sum(values); }, { out : "balance" })
https://docs.mongodb.com/manual/reference/command/mapReduce/#map-reduce-examples
