| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/OaiSetsMapping.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 30µs | 34µs | Class::C3::Componentised::BEGIN@1.1894 |
| 1 | 1 | 1 | 10µs | 21µs | Koha::Schema::Result::OaiSetsMapping::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 85µs | Koha::Schema::Result::OaiSetsMapping::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 17µs | Koha::Schema::Result::OaiSetsMapping::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 38µs | # spent 34µs (30+4) within Class::C3::Componentised::BEGIN@1.1894 which was called:
# once (30µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.1894
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::OaiSetsMapping; | ||||
| 3 | |||||
| 4 | # Created by DBIx::Class::Schema::Loader | ||||
| 5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||||
| 6 | |||||
| 7 | =head1 NAME | ||||
| 8 | |||||
| 9 | Koha::Schema::Result::OaiSetsMapping | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 32µs | # spent 21µs (10+11) within Koha::Schema::Result::OaiSetsMapping::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
| 14 | 2 | 24µs | # spent 17µs (9+8) within Koha::Schema::Result::OaiSetsMapping::BEGIN@14 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 160µs | # spent 85µs (10+75) within Koha::Schema::Result::OaiSetsMapping::BEGIN@16 which was called:
# once (10µs+75µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@16
# spent 75µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<oai_sets_mappings> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 347µs | __PACKAGE__->table("oai_sets_mappings"); # spent 347µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 set_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 marcfield | ||||
| 33 | |||||
| 34 | data_type: 'char' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 3 | ||||
| 37 | |||||
| 38 | =head2 marcsubfield | ||||
| 39 | |||||
| 40 | data_type: 'char' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | size: 1 | ||||
| 43 | |||||
| 44 | =head2 operator | ||||
| 45 | |||||
| 46 | data_type: 'varchar' | ||||
| 47 | default_value: 'equal' | ||||
| 48 | is_nullable: 0 | ||||
| 49 | size: 8 | ||||
| 50 | |||||
| 51 | =head2 marcvalue | ||||
| 52 | |||||
| 53 | data_type: 'varchar' | ||||
| 54 | is_nullable: 0 | ||||
| 55 | size: 80 | ||||
| 56 | |||||
| 57 | =cut | ||||
| 58 | |||||
| 59 | 1 | 1.98ms | __PACKAGE__->add_columns( # spent 1.98ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 60 | "set_id", | ||||
| 61 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 62 | "marcfield", | ||||
| 63 | { data_type => "char", is_nullable => 0, size => 3 }, | ||||
| 64 | "marcsubfield", | ||||
| 65 | { data_type => "char", is_nullable => 0, size => 1 }, | ||||
| 66 | "operator", | ||||
| 67 | { | ||||
| 68 | data_type => "varchar", | ||||
| 69 | default_value => "equal", | ||||
| 70 | is_nullable => 0, | ||||
| 71 | size => 8, | ||||
| 72 | }, | ||||
| 73 | "marcvalue", | ||||
| 74 | { data_type => "varchar", is_nullable => 0, size => 80 }, | ||||
| 75 | ); | ||||
| 76 | |||||
| 77 | =head1 RELATIONS | ||||
| 78 | |||||
| 79 | =head2 set | ||||
| 80 | |||||
| 81 | Type: belongs_to | ||||
| 82 | |||||
| 83 | Related object: L<Koha::Schema::Result::OaiSet> | ||||
| 84 | |||||
| 85 | =cut | ||||
| 86 | |||||
| 87 | 1 | 301µs | __PACKAGE__->belongs_to( # spent 301µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 88 | "set", | ||||
| 89 | "Koha::Schema::Result::OaiSet", | ||||
| 90 | { id => "set_id" }, | ||||
| 91 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 92 | ); | ||||
| 93 | |||||
| 94 | |||||
| 95 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 96 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A2fchnI85JftSuruZ1CykQ | ||||
| 97 | |||||
| 98 | |||||
| 99 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 100 | 1; |