[英]Salesforce SOQL Trimming the field
I am callling the SOQL query through REST API from php. 我正在通过REST API通过php调用SOQL查询。 I am searching for the phone number using the below SOQL query. 我正在使用下面的SOQL查询来搜索电话号码。 I want to trim the mobilephone in where clause. 我想在where子句中修剪手机。 I tried MobilePhone.trim()
and trim(MobilePhone)
it's not working. 我试过MobilePhone.trim()
和trim(MobilePhone)
无法正常工作。 How can I do it? 我该怎么做?
Select FirstName FROM Contact WHERE MobilePhone = '04123456789'
Thanks. 谢谢。
在SOQL的“何处”条件下无法使用“修剪”功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.