【MongoDB】The high query operation of MongoDB(二)
来源:互联网 发布:网狐6603完整源码全套 编辑:程序博客网 时间:2024/05/16 10:36
In the last blog, there are three query condition to be described. In the blog, we will continue to what we have leant in the last blog.
1 $mod
'$mod' operation is able to make us to do simple mod operation, but is no need to use where sentence.
\
2. $ne, $in, $nin
‘$ne’ means not equal. '$in' is same as key word 'in' in relationship. $nin is opsitive to 'in'
3.$or and $nor
durning the mutiple conditions, then result will be return that it only matches one condition among condition.
as for $noe, which is in contrast with $no, let's learn it from the following the picture.
4. $size
$size operation will query result whose size is equailvant to size of input.
5. $where
6. $type
$type will find the data according the type of bson field. For example:
The following picture is the type of bson type.
0 0
- 【MongoDB】The high query operation of MongoDB(二)
- 【MongoDB】The high query operation of MongoDB(三)
- 【MongoDB】The high Query operation of MongoDB(一)
- 【MonogoDB】The high update operation of MongoDB
- 【MongoDB】The basic operation of Mongodb, Insert\Query\Delete\Update
- 【MongoDB】The Regex Expression query of MongoDB
- 【MongoDB】The basic operation of Index in MongoDB
- 【MongoDB】The basic operation of Index in MongoDB
- The tail of MongoDB
- 【MongoDB】The description of procedure in MongoDB
- 【MongoDB】The Access control of mongodb
- MongoDB(二)mongoDB简介
- 遇到错误----Mongodb----导出数据报错 Sort operation used more than the maximum 33554432 bytes of RAM
- 【MongoDB】Installation of MongoDB
- 【MongoDB】Download the mongoDB
- mongodb sql query
- mongodb slow query analyzer
- mongodb slow query
- HDU 5035 Delivery 期望 公式
- Linux下的环境变量设置与定制
- rtx任务间的通信--event flags
- SFN,CFN
- 字符串数组
- 【MongoDB】The high query operation of MongoDB(二)
- Goagnt服务安装
- HDU 1540——Tunnel Warfare(线段树,区间合并+单点更新+单点查询)
- 工作中的学习(9月21日)
- Boost库简单运用——时间与日期的处理(一)
- struts2 配置文件放置在指定的目录
- Spring和Django安全机制的比较
- J2SE之IO流
- struts2中使用拦截器(Interceptor)控制登录和权限