您必须使用$ exists
语法:{栏位:{$ exists:}}
更多细节
http://docs.mongodb.org/manual/reference/operator/query/exists/
上一篇 从goroutine返回值会发生什么
下一篇 混淆上层标题
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号