... | ... |
@@ -1205,12 +1205,13 @@ sub _create_bind_values { |
1205 | 1205 |
$value = $f->($value) if $f; |
1206 | 1206 |
|
1207 | 1207 |
# Type rule |
1208 |
- for my $i (1 .. 2) { |
|
1209 |
- my $type_filter = $type_filters->{$i}; |
|
1210 |
- my $tf = $self->{"_into$i"}->{dot}->{$column} || $type_filter->{$column}; |
|
1211 |
- $value = $tf->($value) if $tf; |
|
1212 |
- } |
|
1213 |
- |
|
1208 |
+ my $tf1 = $self->{"_into1"}->{dot}->{$column} |
|
1209 |
+ || $type_filters->{1}->{$column}; |
|
1210 |
+ $value = $tf1->($value) if $tf1; |
|
1211 |
+ my $tf2 = $self->{"_into2"}->{dot}->{$column} |
|
1212 |
+ || $type_filters->{2}->{$column}; |
|
1213 |
+ $value = $tf2->($value) if $tf2; |
|
1214 |
+ |
|
1214 | 1215 |
# Bind values |
1215 | 1216 |
push @$bind, {value => $value, bind_type => $bind_type->{$column}}; |
1216 | 1217 |
|