SequoiaDB 简介						 
					
						快速入门						 
					
						安装部署						 
					
						数据库实例						 
					
						分布式引擎						 
					
						SAC 管控中心						 
					
						SequoiaPerf 性能分析工具						 
					
						参考手册						 
					
						常见问题及解答(FAQ)						 
					
						版本信息						 
					
{ <字段名>: { $exists: <0|1> } }
匹配集合中是否存在指定“<字段名>”的记录。
| 值 | 作用 | 
|---|---|
| 0 | 匹配“<字段名>”不存在的记录 | 
| 1 | 匹配“<字段名>”存在的记录 | 
选择集合 sample.employee 中存在字段 age 的记录
> db.sample.employee.find( { "age": { "$exists": 1 } } )选择集合 sample.employee 中嵌套对象 content 不存在 name 字段的记录
> db.sample.employee.find( { "content.name": { "$exists": 0 } } ) 展开
            展开
          
   
   
   
   
   
   
   
