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.
n1ql 是否支持点表示法以允许基于 JSON 子字段的值过滤结果?
应该一个人使用=还是is运营商?
=
is
以下命令可用于过滤子字段:
SELECT * from `bucket` WHERE info.category = 'SPECIFIC_CATEGORY';
该文档解释了何时IS应使用运算符:
IS
IS/IS NOT NULL/MISSING 系列运算符允许您根据数据集中属性的存在(或不存在)来指定条件。
您可能需要浏览N1QL 教程。