[Dbix-class] using functions

Len Jaffe lenjaffe at jaffesystems.com
Sat Jan 6 21:51:42 GMT 2007


On 1/6/07, Octavian Rasnita <orasnita at gmail.com> wrote:
> 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';

select count(*) where title like 'XXXX%'

-- 
lenjaffe at jaffesystems.com
614-404-4214



More information about the Dbix-class mailing list