欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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