projects
/
dbsrgits/SQL-Abstract.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added test cases for passing arrayref bind values to insert() and update() when the...
[dbsrgits/SQL-Abstract.git]
/
lib
/
SQL
/
Abstract.pm
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
b3c4581
..
2a74a7f
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-145,6
+145,7
@@
sub _insert_ARRAYREF { # just generate values(?,?) part (no list of fields)
ARRAYREF => sub {
if ($self->{array_datatypes}) { # if array datatype are activated
push @values, '?';
+ push @all_bind, $v;
}
else { # else literal SQL with bind
my ($sql, @bind) = @$v;