Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: DBIx::Class case insensitve substring search.

by duelafn (Priest)
on May 26, 2011 at 16:25 UTC ( #906859=note: print w/ replies, xml ) Need Help??

in reply to Re: DBIx::Class case insensitve substring search.
in thread DBIx::Class case insensitve substring search.

Good find. After poking around, it seems that indeed the only options available to the OP is globally disabling quote_names / quote_char (which may be impossible) or resorting to the literal SQL as the OP found in the FAQ (I'd love to be proved wrong though). The documentation (and experiments) show that locally disabling quote_names / quote_char is difficult to the point of being not possible. Of course, as a key value, the typical SQL::Abstract "trick" of using a scalar reference \'LOWER(' is useless as well.

Good Day,

Comment on Re^2: DBIx::Class case insensitve substring search.
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906859]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-11-27 23:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls