Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 127253
Status: new
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

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



Subject: Documentaion for columns should be clarified
Download (untitled) / with headers
text/plain 570b
The example: # equivalent SQL: SELECT 1, 'a string', IF(my_column,?,?) ... # bind values: $true_value, $false_value columns => [ { foo => \1, bar => \q{'a string'}, baz => \[ 'IF(my_column,?,?)', $true_value, $false_value ], } ] That is not clear how it is guaranteed that \1 will be first in select? The hash do not respect order of keys/values Thus resulting query can be one of: SELECT 1, 'a string', IF(my_column,?,?) ... SELECT 'a string', 1, IF(my_column,?,?) ... SELECT 'a string', IF(my_column,?,?), 1 ...


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.