use base 'DBIx::Class::Storage::DBI';
use mro 'c3';
-=head1 NAME
+=head1 NAME
DBIx::Class::Storage::DBI::MultiColumnIn - Storage component for RDBMS supporting multicolumn in clauses
The storage class for any such RDBMS should inherit from this class, in order
to dramatically speed up update/delete operations on joined multipk resultsets.
-At this point the only overriden method is C<_multipk_update_delete()>
+At this point the only overridden method is C<_multipk_update_delete()>
=cut
my ($rs, $op, $values) = @_;
my $rsrc = $rs->result_source;
- my @pcols = $rsrc->primary_columns;
+ my @pcols = $rsrc->_pri_cols;
my $attrs = $rs->_resolved_attrs;
- # naive check - this is an internal method after all, we should know what we are doing
+ # naive check - this is an internal method after all, we should know what we are doing
$self->throw_exception ('Number of columns selected by supplied resultset does not match number of primary keys')
if ( ref $attrs->{select} ne 'ARRAY' or @{$attrs->{select}} != @pcols );