彩云小梦如何控制 AI续写的情感细腻度与悲喜反差?
2026-07-31
2026-08-05 0
命令行输入mongo进入数据库操作

use demo创建或切换到数据库名为demo的数据库
代码演示
E:MongoDBbin>mongoMongoDB shell version: 2.6.5connecting to: test> use demodbswitched to db demodb> db.FirstCollection.insert({name:"jack",age:22})WriteResult({ "nInserted" : 1 })> show collections //显示数据库的表FirstCollectionsystem.indexes > db.getCollectionNames()[ "FirstCollection", "system.indexes" ]> db.demodb.find()> db.FirstCollection.find(){ "_id" : ObjectId("543731431dc491f307663a0d"), "name" : "jack", "age" : 22 }> db.system.indexes.find(){ "v" : 1, "key" : { "_id" : 1 }, "name" : "_id_", "ns" : "demodb.FirstCollection" }登录数据库 db.auth('gary','111111')
进入表查看 db.tablename.find()