mongo shell 创建collection db.createCollection(“connection name”) 例如:db.createCollection(“test_details”)