1.查看集合中数据,并进行格式 db.runoob.find().pretty() 2.删除所有数据 db.runoob.remove({}) 3.查看集合中的数据,并进行格式 db.runoob.find().pretty()