$self->dbh_do('_dbh_last_insert_id', @_);
}
-=head2 _map_data_type
+=head2 _native_data_type
=over 4
=cut
-sub _map_data_type {
+sub _native_data_type {
#my ($self, $data_type) = @_;
return undef
}
throw implicit type conversion errors.
As long as a column L<data_type|DBIx::Class::ResultSource/add_columns> is
-defined, and it resolves to a base RDBMS native type via L</_map_data_type> as
+defined, and it resolves to a base RDBMS native type via L</_native_data_type> as
defined in your Storage driver, the placeholder for this column will be
converted to:
foreach my $bound (@$bind) {
my $col = $bound->[0];
- my $type = $self->_map_data_type($col_info->{$col}{data_type});
+ my $type = $self->_native_data_type($col_info->{$col}{data_type});
foreach my $data (@{$bound}[1..$#$bound]) {
$new_sql .= shift(@sql_part) .
int => undef, # no conversion
};
- sub _map_data_type {
+ sub _native_data_type {
return $type_map->{$_[1]};
}
}