[Dbix-class] inverted search conditions?

Brandon Black blblack at gmail.com
Fri Mar 31 19:26:06 CEST 2006


I just got stumped on this earlier.  What would the ->search syntax be
to get a literal on the left-hand side and the column on the
right-hand side of an operator?  In my case, a column in the table
being searched contains a LIKE-string, and I want to do:

"SELECT * FROM thetable WHERE 'string_literal' LIKE thetable.like_col"

-- Brandon



More information about the Dbix-class mailing list