+ Start a Discussion
ylabarreylabarre 

Translate operation tag into SOQL

Hello,

 

I'm able to get my custom list view with the metadata API stored in the xml file zip. However, the tag "operation" contain the operation in letters and I would like to translate this definitions in operator SOQL. Is someone can give me the operator I should use for each operation below ?

 

equals

notEqual

lessThan

greaterThan

lessOrEqual

greaterOrEqual

notContain

contains

startsWith

 

Thank you by advance.

Best Answer chosen by Admin (Salesforce Developers) 
Pradeep_NavatarPradeep_Navatar

equals  : =

notEqual : !=

lessThan : <

greaterThan : >

lessOrEqual : <=

greaterOrEqual : >=

notContain  : EXCLUDE

contains   : INCLUDE

startsWith : LIKE a%