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 查询来查询数据库
where any content in `test-mcms`.contents satisfies content.content LIKE \"%Sic%\" END
除非有换行符,否则代码运行良好\n
\n
"blah Sic blah"
以上没问题。
"blah Sic blah \n\n blah"
机器人不是这个。
任何想法?
我想知道这是否与您如何转义字符串有关。你可以试试这个吗?:
where any content in `test-mcms`.contents satisfies content.content LIKE '%Sic%' END
最好的,