![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mongo
元永真
做一个快乐的程序员!元:大度量;永:永久 永恒;贞:正;
展开
-
mongo查询
========================================================mongo查询:1 日期查询(data)db.getCollection('webLog').find({content: /主机重置/, "createTime" : { "$gte" :new ISODate("2020-12-01 08:32:44.342Z"), "$lte" : new ISODate("2020-12-24 08:32:44.342Z")}}).sort({cr原创 2020-12-18 16:45:38 · 485 阅读 · 1 评论 -
mongodb简介
原创 2017-09-02 16:56:48 · 157 阅读 · 0 评论 -
mongodb 数据库安装和数据库基本命令
原创 2017-09-02 20:14:43 · 167 阅读 · 0 评论 -
mongodb 操作集合
原创 2017-09-02 22:32:44 · 143 阅读 · 0 评论 -
mongodb 查询命令
原创 2017-09-02 23:24:28 · 141 阅读 · 0 评论 -
mongo3.0 主从(都写分离)复制集搭建
1 mongo3.0 主从(都写分离)复制集搭建//1主2从主:10.12.28.29:27010./mongod -f /smart/mongodb/conf/mongodb.conf//mongodb.conf 配置文件:port=27010dbpath=/smart/mongodb/datalogpath=/smart/mongodb/log/mongod.logpid...原创 2018-08-09 11:34:35 · 256 阅读 · 0 评论 -
mongo 复制集
tar -zxvf mongodb-linux-x86_64-3.0.3.tgz -C /usr/local/cd /usr/local/ && ln -s mongodb-linux-x86_64-3.0.3 mongodbmkdir -p /smart/mongodb/datamkdir -p /smart/mongodb/confmkdir -p /smart/mo...原创 2018-08-06 15:38:47 · 179 阅读 · 0 评论