MongoDB
程序员文章站
2022-03-01 20:21:21
...
1. 启动
1) bin/mongod.exe
2) bin/mongo.exe
2. Commands
use {dbName} // switch to a db (create a new one if not existing)
show dbs
db: show current switched db
db.{dbName}.insert(...)
db.dropDatabase() // delete current db
db.dropDatabase()
https://www.runoob.com/mongodb/mongodb-analyzing-queries.html
1) bin/mongod.exe
2) bin/mongo.exe
2. Commands
use {dbName} // switch to a db (create a new one if not existing)
show dbs
db: show current switched db
db.{dbName}.insert(...)
db.dropDatabase() // delete current db
db.dropDatabase()
https://www.runoob.com/mongodb/mongodb-analyzing-queries.html
上一篇: ORACLE 跨库访问DBLINK
下一篇: 数据库设计的十个最佳实践