NAME
Schema::Test::0_3_0::Result::Address - DBIx::Class result class for the address table in schema version 0.3.0.
SYNOPSIS
use Schema::Test::0_3_0::Result::Address;
my $obj = Schema::Test::0_3_0::Result::Address->new(%params);
my $table = $obj->table;
my $table = Schema::Test::0_3_0::Result::Address->table;
DESCRIPTION
DBIx::Class result class for the address table in the 0.3.0 schema version. The class inherits row behavior from DBIx::Class::Row and source behavior from DBIx::Class::ResultSourceProxy::Table. The table links to person through person_id.
METHODS
new
my $obj = Schema::Test::0_3_0::Result::Address->new(%params);
Returns instance of object.
table
my $table = $obj->table;
my $table = Schema::Test::0_3_0::Result::Address->table;
Get address table name.
Returns string.
belongs_to
Schema::Test::0_3_0::Result::Address->belongs_to(...);
Returns 1.
SEE ALSO
- DBIx::Class::Row
-
Base class for row instances returned by
new. - DBIx::Class::ResultSourceProxy::Table
-
Provides the
tableclass method. - Schema::Test::0_3_0::Result::Person
-
Related result source for the referenced
persontable.
DEPENDENCIES
DBIx::Class::Core, Schema::Test::0_3_0::Result::Person
REPOSITORY
https://github.com/michal-josef-spacek/Schema-Test
AUTHOR
Michal Josef Špaček <skim@cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2022-2026 Michal Josef Špaček.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
VERSION
0.02