博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【MongoDB】The high Query operation of MongoDB(一)
阅读量:4169 次
发布时间:2019-05-26

本文共 597 字,大约阅读时间需要 1 分钟。

In the last blog, we talked about the basic operation of MongoDB, including insert, query, remove and update. Now in this blog, we will further hava a good understanding of  querying operation. 

At first, let's create 1000 recors for testing. As the following picture depicts.

Condition Expression 

1. <, <=, >, <=  is correspondent to ‘$lt’,'$Ite', '$gt' and '$gte'

2. $all

This operation is analogous to the $in operation. But the difference is that $all operation requires every elements in the array to be included in the return result. 

3. $exists

$exists operation check whether one field exists.

你可能感兴趣的文章
2018.5.58
查看>>
2018.12.5
查看>>
2018.12.6
查看>>
人智导(四):约束满足问题
查看>>
2018.12.7
查看>>
2018.12.8
查看>>
2018.12.9
查看>>
2018.12.29
查看>>
2018.12.31
查看>>
2019.1.2
查看>>
2019.1.4
查看>>
2019.1.9
查看>>
2019.1.12
查看>>
Java语言程序设计与数据结构》编程练习答案(第二十章)(二)
查看>>
2019.2.25
查看>>
2019.2.26
查看>>
2019.2.27
查看>>
2019.2.28
查看>>
2019.2.29
查看>>
聊聊我当年在培训学校做开发的经历
查看>>