摘要:
1,初始化数据库,插入数据:doc=({"name":"peter","position":"teacher"}){"name":"peter","position":"teacher"}> db.shiyanlou.insert(doc)> doc1=({"name":"tom","positio... 阅读全文
摘要:
1,删除数据库: db.dropDatabase()> use Chenshiswitched to db Chenshi> dbChenshi> show dbslocal0.078125GB> db.computer.insert({"name":"lisi"})> show dbsChensh... 阅读全文