A.masterB.slaveC.secondaryD.primary
多项选择题mongodb查询数据的方法()
A.db.文档名.find()B.db.文档名.find().pretty()C.db.集合.find()D.db.集合.find
多项选择题mongodb升降排序()
A.db.文档名.find().sort({字段:1})B.db.文档名.find().sort({字段:-1})C.db.文档名.find().sort(1)D.db.文档名.find().sort(-1)
多项选择题mongodb创建索引()
A.db.文档名.createIndex(字段:1)B.db.文档名.createIndex(字段:-1)C.db.文档名.createIndex({字段:1,字段:-1})D.db.文档名.createIndex(字段,1)
多项选择题mongodb删除文档()
A.db.文档名.remove({})B.db.文档名.deleteOne({})C.db.文档名.deleteMany({})D.db.文档名.drop
多项选择题mongodb插入更新数据()
A.db.文档名.insert(字段:字段)B.db.文档名.update(字段:字段)C.db.文档名.save(字段:字段)D.db.文档名.insert
单项选择题规范的关闭mongodb的方法()
A.db.shutdownServer()B.kill -9mongodb()C.db.quit()D.quit()
单项选择题mongodb查看已有的集合()
A.show tableB.show collectionC.show collectionsD.show dbs
单项选择题mongodb中语句查询哪个是大于等于()
A.ltB.lteC.gtD.gte
单项选择题mongodb的redo日志()
A.oplogB.journalC.systemD.profile
单项选择题MongoDB关闭服务的命令()
A.db.shtuDownServerB.db.shutdownC.db.shtudownServer()D.quit()