[Dbix-class] SQLA bug with >>= operator

Peter Rabbitson rabbit+dbic at rabbit.us
Thu Apr 22 08:57:42 GMT 2010


Toby Corkindale wrote:
> I  think this is actually an SQL::Abstract bug, but the SQLA docs say to
> try the dbic mailing lists for support, so..
> 
> 
> Steps to reproduce under SQL::Abstract:
> my $sql = SQL::Abstract->new;
> my($stmt, @bind) = $sql->select('foo', 'foo', {
>         address => { '>>=' => '10.2.3.4' },
>     }
> );
> 
> $stmt contains:
> SELECT foo FROM foo WHERE ( address = >>=( ? ) )
> what it *should* contain:
> SELECT foo FROM foo WHERE ( address >>= ? )
> 

Upgrade SQL::Abstract.



More information about the DBIx-Class mailing list