Relationship
PK
Row
- TableInstance
+ ResultSourceProxy::Table
Exception
AccessorGroup/);
=item L<DBIx::Class::Row>
-=item L<DBIx::Class::TableInstance>
+=item L<DBIx::Class::ResultSourceProxy::Table>
=item L<DBIx::Class::Exception>
use DBIx::Class::ClassResolver::PassThrough;
use DBI;
-__PACKAGE__->load_components(qw/ResultSetInstance/);
+__PACKAGE__->load_components(qw/ResultSetProxy/);
*dbi_commit = \&txn_commit;
*dbi_rollback = \&txn_rollback;
package My::Schema;
use base qw/DBIx::Class::Schema/;
-In this class you load your resultsource ("table", "model") classes, which
+In this class you load your result_source ("table", "model") classes, which
we will define later, using the load_classes() method. You can specify which
classes to load manually:
=head2 new($source, \%$attrs)
The resultset constructor. Takes a source object (usually a
-L<DBIx::Class::TableInstance>) and an attribute hash (see L</ATRRIBUTES>
+L<DBIx::Class::ResultSourceProxy::Table>) and an attribute hash (see L</ATRRIBUTES>
below). Does not perform any queries -- these are executed as needed by the
other methods.
-package DBIx::Class::ResultSetInstance;
+package DBIx::Class::ResultSetProxy;
use base qw/DBIx::Class/;
-package DBIx::Class::ResultSourceInstance;
+package DBIx::Class::ResultSourceProxy;
use strict;
use warnings;
-package DBIx::Class::TableInstance;
+package DBIx::Class::ResultSourceProxy::Table;
use strict;
use warnings;
-use base qw/DBIx::Class::ResultSourceInstance/;
+use base qw/DBIx::Class::ResultSourceProxy/;
use DBIx::Class::ResultSource::Table;
__PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do anything yet!
=head1 NAME
-DBIx::Class::TableInstance - provides a classdata table object and method proxies
+DBIx::Class::ResultSourceProxy::Table - provides a classdata table object and method proxies
=head1 SYNOPSIS
=head2 register_class <moniker> <component_class>
-Registers a class which isa ResultSourceInstance; equivalent to calling
+Registers a class which isa ResultSourceProxy; equivalent to calling
$schema->register_source($moniker, $class->result_source_instance);
sub compose_connection {
my ($self, $target, @info) = @_;
- my $base = 'DBIx::Class::ResultSetInstance';
+ my $base = 'DBIx::Class::ResultSetProxy';
$base->require;
my $schema = $self->compose_namespace($target, $base);
$schema->connection(@info);