OSC-CREST-00025 [Bad Request]错误请求:“ and”附近:语法错误

时间:2019-04-10 16:29:22

标签: oracle where roql

我尝试查询Oracle Service Cloud v1.3。将ROQL与单个WHERE条件一起使用时,它可以工作。但是,当添加另一个条件(用AND分隔)时,它会抱怨:

OSC-CREST-00025 [错误请求]错误请求:“与”附近:语法错误

URL:... / answers?orderBy = updatedTime%3Adesc&limit = 10000&q = language%3D5 + AND + updatedTime + after +%272019-04-03%27&fields = id%2Clanguage&offset = 0

我认为“ AND”是有效的ROQL关键字。为什么要抱怨?

1 个答案:

答案 0 :(得分:2)

您是否尝试在网址中AND前后放置空格:

URL:... / answers?orderBy = updatedTime%3Adesc&limit = 10000&q = language%3D5 +%20AND%20 + updatedTime + after + after +%272019-04-03%27&fields = id%2Clanguage&offset = 0