我想从 Salesforce API 检索案例记录。我只有 Case Id 的开头(不要问为什么),所以我尝试了以下查询:
SELECT Id FROM Case WHERE Id LIKE 'whatever...%'
不幸的是,这会返回以下错误:
SELECT Id FROM Case WHERE Id LIKE '500DABCD...%'
^
ERROR at Row:1:Column:27
invalid operator on id field'
How can we get this functionality from the API?
为什么我不能在 Id 字段上使用 LIKE 运算符?还有其他方法可以做到这一点吗?