Welcome Guest, Not a member yet? Register   Sign In
Complex db query using active record
#1

[eluser]blasto333[/eluser]
Is it possible to do the following using active record?
Select * from table where zyx=DDT and (acx like ESA or fks like csi)

I can't seem to figure out how to group the two likes together.

I am using or_like, but that doesn't seem to work


Messages In This Thread
Complex db query using active record - by El Forum - 01-02-2010, 02:04 PM
Complex db query using active record - by El Forum - 01-03-2010, 10:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB