Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有很多文件在一个桶里
{ prop1: value, prop2: value, prop3: value}
但是有些文档没有 prop3 字段。
如何使用 n1ql 查询检索所有没有 prop3 字段的文档?
IS MISSING关键字是你的朋友:
IS MISSING
SELECT * FROM bucket WHERE prop3 IS MISSING;