随笔 - 836  文章 - 1 评论 - 40 阅读 - 102万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  MongoDB

上一页 1 2
Spring Boot配置 mongo db 连接池 mongo (配置多数据源)
该文被密码保护。
posted @ 2020-04-15 15:43 lshan 阅读(5) 评论(0) 推荐(0) 编辑
mongo 查询常用
摘要:https://www.runoob.com/mongodb/mongodb-operators.html 1.模糊查询: 阅读全文
posted @ 2020-03-13 11:32 lshan 阅读(140) 评论(0) 推荐(0) 编辑
mongo 使用 mongoexport 按照条件导出 csv 文件
摘要:cankao : https://blog.csdn.net/enjolras_fuu/article/details/96479807 mongoexport --host 127.0.0.1 --port 27017 --db ELSA_MILESTONE_SUBSCRIPTION_SERVIC 阅读全文
posted @ 2020-01-14 11:45 lshan 阅读(1456) 评论(0) 推荐(0) 编辑
mongo 副本集,分片(docker版 v4.2.0)全
该文被密码保护。
posted @ 2019-12-17 16:57 lshan 阅读(4) 评论(0) 推荐(0) 编辑
mongo DB 备份与恢复(转)
摘要:mongoexport作用 ==》mongoexport --helpmongoexport这个工具的作用就是Export data from MongoDB in CSV or JSON format.。将MongoDB中的数据导出为csv或者json格式。 CSVCSV(Comma-Separa 阅读全文
posted @ 2019-12-09 16:54 lshan 阅读(150) 评论(0) 推荐(0) 编辑
mongo 副本集,分片
摘要:参考:https://blog.csdn.net/qq_37142346/article/details/82824132 docker 版本的副本集:参考:https://www.cnblogs.com/cowboys/p/9264494.html 参考这个,比较详细: https://www.c 阅读全文
posted @ 2019-12-09 16:49 lshan 阅读(372) 评论(0) 推荐(0) 编辑
MongoUtils mongo utils python
摘要:如果是 pymongo==4.x pls pip3 install pymongo==4.5.0 client = pymongo.MongoClient(host="192.168.12.153", port=27017, username="root", password="root", aut 阅读全文
posted @ 2019-11-14 11:01 lshan 阅读(504) 评论(0) 推荐(0) 编辑
mongo DB分页
摘要:参考:https://blog.csdn.net/qq_40715775/article/details/83153808 依赖: domain: config:(application.propeties) repository: web: 阅读全文
posted @ 2019-09-17 12:53 lshan 阅读(203) 评论(0) 推荐(0) 编辑
运行mongo DB 官方镜像,以及基本操作,认证
摘要:为了支持事务,使用副本集的方式做单机节点: 副本及带认证详细参考我这篇:https://www.cnblogs.com/lshan/p/12035285.html 副本集如果连接不上可以加上参数:mongodb://192.168.186.122:27017/?directConnection=tr 阅读全文
posted @ 2019-09-10 14:40 lshan 阅读(1666) 评论(0) 推荐(0) 编辑
MongoDB Query语法和工具  聚合
摘要:1.基础语法: 相关网站: http://www.runoob.com/mongodb/mongodb-query.html Noted: 1> can not order by multiple fields. 2> better to use object array , not use a s 阅读全文
posted @ 2019-08-27 17:11 lshan 阅读(1474) 评论(0) 推荐(0) 编辑
windows下MongoDB的安装及配置
摘要:windows下MongoDB的安装及配置 (来源于博主:https://blog.csdn.net/heshushun/article/details/77776706) 此处仅仅做收藏 2017年09月01日 19:43:43 李子园的梦想 阅读数 140131 windows下MongoDB的 阅读全文
posted @ 2019-07-07 16:46 lshan 阅读(152) 评论(0) 推荐(0) 编辑
mongoDB 时间范围查询
摘要:来源:https://www.cnblogs.com/kaituorensheng/p/5155955.html mongdb时间类型 Date() 显示当前的时间 new Date 构建一个格林尼治时间 可以看到正好和Date()相差8小时,我们是+8时区,也就是时差相差8,所以+8小时就是系统当 阅读全文
posted @ 2019-06-21 15:42 lshan 阅读(46556) 评论(0) 推荐(0) 编辑
mongoDB 笔记 https://www.runoob.com/mongodb/mongodb-query.html
摘要:菜鸟:https://www.runoob.com/mongodb/mongodb-query.htmlmongodb memcached redis kv数据库(key/value) mongodb 文档数据库,存储的是文档(Bson->json的二进制化). 特点:内部执行引擎为JS解释器, 把文档存储成bson结构,在查询时,转换为JS对象,并可以通过熟悉的js语法来... 阅读全文
posted @ 2019-06-19 12:28 lshan 阅读(910) 评论(0) 推荐(0) 编辑
mogodb 设置用户名密码认证
摘要:mogodb 设置用户名密码认证: #step 1: create account 1. mongo; 2. use admin; 3. db.createUser({ user: "root", pwd: "root", roles: [{ role: "userAdminAnyDatabase" 阅读全文
posted @ 2019-05-14 15:12 lshan 阅读(173) 评论(0) 推荐(0) 编辑
mogodb field 字段json 数组过滤
摘要:参考:https://www.jb51.net/article/148543.htm 阅读全文
posted @ 2019-05-13 18:29 lshan 阅读(209) 评论(0) 推荐(0) 编辑
mongo admin 客户端管理工具安装
摘要:Ubuntu14.04 1. 选择安装的目录cd /home/sea2. git clone https://github.com/mrvautin/adminMongo.git && cd adminMongo3. 安装依赖 npm install npm ERR! write after end 阅读全文
posted @ 2018-12-29 10:39 lshan 阅读(198) 评论(0) 推荐(0) 编辑
springBoot整合MongoDB(动态查询)
摘要:依赖: 配置 application.properties: #spring.data.mongodb.uri=mongodb://userName:password@ip:port/databasespring.data.mongodb.database=ELSA_MILESTONE_SUBSCR 阅读全文
posted @ 2018-11-23 12:33 lshan 阅读(3516) 评论(0) 推荐(0) 编辑
spring boot 整合MongoDB
摘要:参考 https://www.cnblogs.com/nbfujx/p/7999171.html 阅读全文
posted @ 2018-11-07 10:09 lshan 阅读(94) 评论(0) 推荐(0) 编辑
windows下MongoDB的安装及配置
摘要:win 安装参考:https://blog.csdn.net/heshushun/article/details/77776706 linux 安装参考: 阅读全文
posted @ 2018-10-14 18:21 lshan 阅读(107) 评论(0) 推荐(0) 编辑

上一页 1 2
点击右上角即可分享
微信分享提示