mongodb
wings丶piaopiao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mongodb 利用mongoshell进行数据类型转换
Mongodb 利用mongoshell进行数据类型转换转载说明:http://www.cnblogs.com/jcuan/p/5863607.html,仅用于个人学习$type操作符检测类型种类 代号 别名Double 1 “double”String 2 “string”Object 3 “object”Array 4 “array”Bina转载 2017-10-17 17:09:55 · 714 阅读 · 0 评论 -
整理springdata mongodb 查询 一
自己整理springdata mongodb 查询建立一个 criteria 设置初始条件 Criteria criteria=new Criteria().where("ss").in(ss); 当存在分支或存在判断时分别去设置追加条件,如果是继续添加直接用criteria.and继续追加就可不需要使用andOperator如果使用andOperator 之前原创 2017-10-20 12:06:42 · 566 阅读 · 0 评论 -
springdata mongodb 查询二(Aggregation)
springdata mongodb 使用Aggregation进行聚合查询仅用于个人学习总结,纯属于个人理解,如有错误请谅解,顺便帮忙指出match 匹配 直接拼好Criteria即可 MatchOperation match =null; if (a){ match=Aggregation.match(Criteria.where("aa").in(aa).an原创 2017-10-20 12:29:20 · 762 阅读 · 0 评论
分享