MongoDB 命令行帮助
help
db.help() 数据库帮助
db.mycoll.help() 集合帮助
rs.help() help on replica set methods
help connect 链接服务器帮助
help admin 管理命令
help misc 杂项
show dbs show database names
show collections show collections in current database
show users show users in current database
show profile show most recent system.profile entries wi
use <db_name> 选择数据库
db.foo.find() 查询集合
db.foo.find( { a : 1 } ) 条件查询集合
it result of the last line evaluated; use to further iterate
exit quit the mongo shell