function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shunshun 

2.5 SForce API does not have starts with or contains operator anymore?

Hi,

The 2.0 API used to have the "contains" and "starts with" operators for queries.

I guess the 2.5 API does not have these two filters anymore?  If so, is there a good workaround to implement something like a starts with query?

Shun

adamgadamg
LIKE replaces contains in SOQL.

http://sforce.com/us/docs/sforce20/sforce_API_concepts_SOQL.html#wp1201981
shunshun

Ah thanks, sorry I was looking at old documentation.

Shun