Subject: | Documentaion for columns should be clarified |
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 ...