[Dbix-class] SQL::Abstract

Duncan Garland Duncan.Garland at motortrak.com
Wed May 8 08:30:44 GMT 2013


Yes,

Writing /home/duncang/.cpan/Metadata
Module id = DBIx::Class
    CPAN_USERID  RIBASUSHI (Peter Rabbitson <ribasushi at cpan.org>)
    CPAN_VERSION 0.08250
    CPAN_FILE    R/RI/RIBASUSHI/DBIx-Class-0.08250.tar.gz
    MANPAGE      DBIx::Class - Extensible and flexible object <-> relational mapper.
    INST_FILE    /usr/local/share/perl5/DBIx/Class.pm
    INST_VERSION 0.08202

I didn't realise the feature was so new.

-----Original Message-----
From: Peter Rabbitson [mailto:rabbit+dbic at rabbit.us] 
Sent: 07 May 2013 19:25
To: DBIx::Class user and developer list
Subject: Re: [Dbix-class] SQL::Abstract

On Tue, May 07, 2013 at 06:24:49PM +0100, Duncan Garland wrote:
> Hi,
> 
> Does anybody know what's happening here? (I know the index is switched 
> off.)
> 
> This:
> 
> @rs = $schema->resultset("LeasingUser")->search( \[ 'UPPER(username) = 
> ?', uc($username) ] );


You are relying on a feature that only appeared on CPAN a week ago. The exception you've shown leads me to believe you are usign a version of DBIC < 0.08250.

Cheers

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk



More information about the DBIx-Class mailing list