Subject: | insert/replace behaving different from update in providing values |
insert and replace check for ARRAY refs:
if (ref($values[$i]) eq 'SCALAR') {
$sql .= ${$values[$i]};
} elsif (ref($values[$i]) eq 'ARRAY') {
$sql .= $values[$i][0];
} else {
but update does not:
if (ref($values[$i]) eq 'SCALAR') {
$sql .= ${$values[$i]};
} else {