Added test cases for passing arrayref bind values to insert() and update() when the...
[dbsrgits/SQL-Abstract.git] / lib / SQL / Abstract.pm
index b3c4581..2a74a7f 100644 (file)
@@ -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;