#
1.創建數據庫test use test2.顯示數據庫 show dbs3.創建runoob 集合 db.createCollection("runoob")4.創建固定集合 db
1.查看集合show collections2.查看集合中數據db.runoob.find().pretty()3.刪除指定數據db.runoob.remove({'title':
1.查看集合中數據,并進行格式 db.runoob.find().pretty()2.刪除所有數據 db.runoob.remove({})3.查看集合中的數據,并進行格式 db.runoob.fin