02 2022 档案

摘要: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 阅读全文
posted @ 2022-02-19 16:23 林宇风 阅读(417) 评论(0) 推荐(0) 编辑
摘要:1. 安装 使用 docker-compose 参考: https://hub.docker.com/_/mongo version: '3.1' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT 阅读全文
posted @ 2022-02-19 12:32 林宇风 阅读(172) 评论(0) 推荐(0) 编辑
摘要:graph LR 开始 --1--> 流程 --2--> 结束 阅读全文
posted @ 2022-02-16 11:19 林宇风 阅读(20) 评论(0) 推荐(0) 编辑
摘要:use test db.createCollection('t1') 使用test数据库, 并创建集合, 就会自动创建 test 数据库了 阅读全文
posted @ 2022-02-11 16:22 林宇风 阅读(102) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示