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
SachinSankadSachinSankad 

Implementing filter logic in Apex

Hi All,

 

Anybody implemented the filter logic like equals to, not equals to ,contains, does not contains, starts with & ends with in apex code & Visualforce page??

 

Please share sample code & references ASAP.

SachinSankadSachinSankad

Hi Shailu,

 

Thank you for your reply.

 

Actually we want to implement the filter logic same as that of we use in Workflow. So do you have any references for the same????

 

I want to implement specifically for contains & does not contain functionality in operator field.

 

Thanks,

Sachin

bujjibujji

Please use "LIKE" operator in the SOQL query in the apex. OR use SOSL query in apex.

Thanks,
Bujji