1、不像其它关系型数据库那样,数值类型字段可以直接支持匹配写成字符串类型,必须保持一致

2、字段是大小写敏感的,查询语句必须和设计名称一致

3、Mongodb内存储时间使用的UTC时间,在做查询过滤时要注意这一点

以在3T中查询为例

正确写法

select *
from [test] where age=11 ;  

错误写法

select *
from [test] where age="11" ;

 

 

正确写法

select *
from [test] where age=11 ;  

错误写法

select *
from [test] where aGe=11 ;

 

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-12-16
  • 2021-09-12
  • 2022-12-23
  • 2021-09-25
  • 2022-02-09
  • 2021-12-09
猜你喜欢
  • 2022-01-10
  • 2021-08-15
  • 2022-01-10
  • 2022-01-30
相关资源
相似解决方案