Skip Menu |
 

This queue is for tickets about the SQL-Abstract-Limit CPAN distribution.

Report information
The Basics
Id: 40012
Status: new
Priority: 0/
Queue: SQL-Abstract-Limit

People
Owner: Nobody in particular
Requestors: okura3 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.12
Fixed in: (no value)



Subject: wrong where phrase
Download (untitled) / with headers
text/plain 480b
perl -de 1 DB<1> use SQL::Abstract::Limit DB<2> $sqla = SQL::Abstract->new( logic => 'and' ) DB<3> $sqlb = SQL::Abstract::Limit->new( logic=>'and' ) DB<4> @where = ( a => {'>', 1}, a => {'<', 10} ) DB<5> x $sqla->select('table_a', [a,b,c], \@where) 0 'SELECT a, b, c FROM table_a WHERE ( ( a > ? ) AND ( a < ? ) )' 1 1 2 10 DB<6> x $sqlb->select('table_a', [a,b,c], \@where) 0 'SELECT a, b, c FROM table_a WHERE ( ( a > ? ) OR ( a < ? ) )' 1 1 2 10 where phase is unmatch.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.