摘要: 方法名描述 cursor.snapshot() cursor.itcount() cursor.batchSize() cursor.pretty() cursor.hint() cursor.min() cursor.sort() cursor.forEach() cursor.limit() c 阅读全文
posted @ 2020-11-02 16:11 igoodful 阅读(187) 评论(0) 推荐(0) 编辑
摘要: fcv机制,可回退版本 ###################### 阅读全文
posted @ 2020-11-02 14:46 igoodful 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 仅仅3.6版本或以上才行: ############################# 阅读全文
posted @ 2020-11-02 14:37 igoodful 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 方法名描述 rs.initiate() rs.addArb() rs.help() rs.printReplicationInfo() 查看到副本集操作日志 rs.remove() 减少副本集节点 rs.freeze() “冻结”mongodb实例 rs.status() 查看副本集状态 db.pr 阅读全文
posted @ 2020-11-02 10:47 igoodful 阅读(224) 评论(5) 推荐(0) 编辑
摘要: 方法名描述 db.collection.aggregate() 聚合,主要用于处理数据(诸如统计平均值,求和等),并返回计算后的数据结果 db.collection.bulkWrite() 批量写入 db.collection.createIndex() 创建一个集合索引 db.collection 阅读全文
posted @ 2020-11-02 10:15 igoodful 阅读(2134) 评论(0) 推荐(0) 编辑