Conditional where clause

introduce a new parameter on the where clause to identify if the where
clause must have an OR / AND between more than one parameters