... | ... |
@@ -2632,7 +2632,7 @@ If you want to execute SQL fast, you can do the following way. |
2632 | 2632 |
my $query; |
2633 | 2633 |
foreach my $row (@$rows) { |
2634 | 2634 |
$query ||= $dbi->insert($row, table => 'table1', query => 1); |
2635 |
- $dbi->execute($query, $row, filter => {ab => sub { $_[0] * 2 }}); |
|
2635 |
+ $dbi->execute($query, $row); |
|
2636 | 2636 |
} |
2637 | 2637 |
|
2638 | 2638 |
Statement handle is reused and SQL parsing is finished, |
... | ... |
@@ -2698,7 +2698,7 @@ You must set C<table> option. |
2698 | 2698 |
|
2699 | 2699 |
=item C<table_alias> |
2700 | 2700 |
|
2701 |
- table_alias => {user => 'hiker'} |
|
2701 |
+ table_alias => {user => 'worker'} |
|
2702 | 2702 |
|
2703 | 2703 |
Table alias. Key is real table name, value is alias table name. |
2704 | 2704 |
If you set C<table_alias>, you can enable C<into1> and C<into2> type rule |