In the List View we can see the Filter logic that enable us to handle many condition such and 1 AND (2 OR 3) . But I m not able to figure out how this logic is being handled in apex.
For example if we let the user to input 1 AND (2 OR 3) , how we apply statement in our query? Do our code need to read 1 , AND,(,2,OR,3,) or we can simply put this in string?
Anyone familiar with this? Can you share how to do this?