Fork me on GitHub
摘要: 查看语句执行计划: explain() 在mongodb3+版本后输出格式发生改变: 详情参见:https://docs.mongodb.com/v3.0/reference/method/cursor.explain/ 查看执行耗时:db.collection名称.find().explain(' 阅读全文
posted @ 2017-06-28 17:06 迁梦余光 阅读(3247) 评论(0) 推荐(0) 编辑
摘要: 目录 查询操作 查询操作 "$gt" 、"$gte"、 "$lt"、 "$lte"、"null查询"、"$all"、"$size"、"$in"、"$nin"、 "$and"、"$nor"、"$not"、"$or"、"$exists"、"$mod"、"$regex"、"$ 阅读全文
posted @ 2017-06-28 15:12 迁梦余光 阅读(10902) 评论(0) 推荐(0) 编辑