Hi,

I am trying to use the following condition but without success. Is it possible to do it with DBIx::Class?

select count(*) where
substring(title, 1, 4)='XXXX';

I have tried using

\"substring(title, 1, $symbol_length)" => $symbol

... and other ways, but they are not correct.

Thank you.

Octavian


_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to