2 package Koha
::Schema
::Result
::MarcMatcher
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MarcMatcher
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<marc_matchers>
22 __PACKAGE__
->table("marc_matchers");
35 default_value: (empty string)
42 default_value: (empty string)
49 default_value: 'biblio'
61 __PACKAGE__
->add_columns(
63 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
65 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
67 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
70 data_type
=> "varchar",
71 default_value
=> "biblio",
76 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 0 },
83 =item * L</matcher_id>
89 __PACKAGE__
->set_primary_key("matcher_id");
97 Related object: L<Koha::Schema::Result::Matchcheck>
101 __PACKAGE__
->has_many(
103 "Koha::Schema::Result::Matchcheck",
104 { "foreign.matcher_id" => "self.matcher_id" },
105 { cascade_copy
=> 0, cascade_delete
=> 0 },
108 =head2 matcher_matchpoints
112 Related object: L<Koha::Schema::Result::MatcherMatchpoint>
116 __PACKAGE__
->has_many(
117 "matcher_matchpoints",
118 "Koha::Schema::Result::MatcherMatchpoint",
119 { "foreign.matcher_id" => "self.matcher_id" },
120 { cascade_copy
=> 0, cascade_delete
=> 0 },
127 Related object: L<Koha::Schema::Result::Matchpoint>
131 __PACKAGE__
->has_many(
133 "Koha::Schema::Result::Matchpoint",
134 { "foreign.matcher_id" => "self.matcher_id" },
135 { cascade_copy
=> 0, cascade_delete
=> 0 },
139 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
140 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2K4K9wfjRlJJKDztPgHJDA
143 # You can replace this text with custom content, and it will be preserved on regeneration