Welcome Guest, Not a member yet? Register   Sign In
Active record or likes ()
#1

[eluser]Mat-Moo[/eluser]
I need to nest or likes,e.g.
SELECT id, title FROM table WHERE `status` = '2' AND (`title` LIKE '%manager%' OR `title` LIKE '% wireless%');

If I just use or_like I don't get the brackets I need... I've got a feeling the answer is no, but can I do this call in Active records?




Theme © iAndrew 2016 - Forum software by © MyBB