摘要:
1. 初始化数据 db.createCollection("t_demo") db.t_demo.insertMany([ {num:[1,2,3], obj: [{name: "zhang1", age: 12}, {name: "li1", age: 13}]}, {num:[1,2], obj 阅读全文
摘要:
1. 安装 使用 docker-compose 参考: https://hub.docker.com/_/mongo version: '3.1' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT 阅读全文