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 | 28µs | 31µs | BEGIN@1.1957 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::OaiSetsMapping::
1 | 1 | 1 | 9µs | 16µs | BEGIN@14 | Koha::Schema::Result::OaiSetsMapping::
1 | 1 | 1 | 6µs | 73µs | BEGIN@16 | Koha::Schema::Result::OaiSetsMapping::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 35µs | # spent 31µs (28+3) within Class::C3::Componentised::BEGIN@1.1957 which was called:
# once (28µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 31µs making 1 call to Class::C3::Componentised::BEGIN@1.1957
# spent 3µ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 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::OaiSetsMapping::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
14 | 2 | 24µs | # spent 16µs (9+7) within Koha::Schema::Result::OaiSetsMapping::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 140µs | # spent 73µs (6+68) within Koha::Schema::Result::OaiSetsMapping::BEGIN@16 which was called:
# once (6µs+68µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 73µs making 1 call to Koha::Schema::Result::OaiSetsMapping::BEGIN@16
# spent 68µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<oai_sets_mappings> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 321µs | __PACKAGE__->table("oai_sets_mappings"); # spent 321µ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 | 2.10ms | __PACKAGE__->add_columns( # spent 2.10ms 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 | 324µs | __PACKAGE__->belongs_to( # spent 324µ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; |