MongoDB中的SQL语句
:baseball: 基本的一些操作
show dbs //admin 0.000GB //config 0.000GB //local 0.000GBuse admindbs //switched to db admindb //adminshow collections show tables //system.users //system.version//db.createCollection("test",{option可选参数}) db.createCollection("students") //{ "ok" : 1 }db.集合的名字.drop() db.students.drop()
:monkey_face: 涉及到集合的操作
数据库备份
Last updated