Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Overduerule.pm |
Statements | Executed 14 statements in 557µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 30µs | BEGIN@1.206 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 85µs | BEGIN@16 | Koha::Schema::Result::Overduerule::
1 | 1 | 1 | 9µs | 17µs | BEGIN@13 | Koha::Schema::Result::Overduerule::
1 | 1 | 1 | 7µs | 14µs | BEGIN@14 | Koha::Schema::Result::Overduerule::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 67µs | 2 | 34µs | # spent 30µs (25+4) within Class::C3::Componentised::BEGIN@1.206 which was called:
# once (25µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.206
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Overduerule; | ||||
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::Overduerule | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 35µs | 2 | 25µs | # spent 17µs (9+8) within Koha::Schema::Result::Overduerule::BEGIN@13 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 17µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@13
# spent 8µs making 1 call to strict::import |
14 | 2 | 36µs | 2 | 22µs | # spent 14µs (7+7) within Koha::Schema::Result::Overduerule::BEGIN@14 which was called:
# once (7µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 14µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 299µs | 2 | 159µs | # spent 85µs (10+74) within Koha::Schema::Result::Overduerule::BEGIN@16 which was called:
# once (10µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@16
# spent 74µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<overduerules> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 19µs | 1 | 321µs | __PACKAGE__->table("overduerules"); # spent 321µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 overduerules_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 branchcode | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: (empty string) | ||||
36 | is_nullable: 0 | ||||
37 | size: 10 | ||||
38 | |||||
39 | =head2 categorycode | ||||
40 | |||||
41 | data_type: 'varchar' | ||||
42 | default_value: (empty string) | ||||
43 | is_nullable: 0 | ||||
44 | size: 10 | ||||
45 | |||||
46 | =head2 delay1 | ||||
47 | |||||
48 | data_type: 'integer' | ||||
49 | is_nullable: 1 | ||||
50 | |||||
51 | =head2 letter1 | ||||
52 | |||||
53 | data_type: 'varchar' | ||||
54 | is_nullable: 1 | ||||
55 | size: 20 | ||||
56 | |||||
57 | =head2 debarred1 | ||||
58 | |||||
59 | data_type: 'varchar' | ||||
60 | default_value: 0 | ||||
61 | is_nullable: 1 | ||||
62 | size: 1 | ||||
63 | |||||
64 | =head2 delay2 | ||||
65 | |||||
66 | data_type: 'integer' | ||||
67 | is_nullable: 1 | ||||
68 | |||||
69 | =head2 debarred2 | ||||
70 | |||||
71 | data_type: 'varchar' | ||||
72 | default_value: 0 | ||||
73 | is_nullable: 1 | ||||
74 | size: 1 | ||||
75 | |||||
76 | =head2 letter2 | ||||
77 | |||||
78 | data_type: 'varchar' | ||||
79 | is_nullable: 1 | ||||
80 | size: 20 | ||||
81 | |||||
82 | =head2 delay3 | ||||
83 | |||||
84 | data_type: 'integer' | ||||
85 | is_nullable: 1 | ||||
86 | |||||
87 | =head2 letter3 | ||||
88 | |||||
89 | data_type: 'varchar' | ||||
90 | is_nullable: 1 | ||||
91 | size: 20 | ||||
92 | |||||
93 | =head2 debarred3 | ||||
94 | |||||
95 | data_type: 'integer' | ||||
96 | default_value: 0 | ||||
97 | is_nullable: 1 | ||||
98 | |||||
99 | =cut | ||||
100 | |||||
101 | 1 | 29µs | 1 | 7.95ms | __PACKAGE__->add_columns( # spent 7.95ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
102 | "overduerules_id", | ||||
103 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
104 | "branchcode", | ||||
105 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
106 | "categorycode", | ||||
107 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
108 | "delay1", | ||||
109 | { data_type => "integer", is_nullable => 1 }, | ||||
110 | "letter1", | ||||
111 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
112 | "debarred1", | ||||
113 | { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 }, | ||||
114 | "delay2", | ||||
115 | { data_type => "integer", is_nullable => 1 }, | ||||
116 | "debarred2", | ||||
117 | { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 }, | ||||
118 | "letter2", | ||||
119 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
120 | "delay3", | ||||
121 | { data_type => "integer", is_nullable => 1 }, | ||||
122 | "letter3", | ||||
123 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
124 | "debarred3", | ||||
125 | { data_type => "integer", default_value => 0, is_nullable => 1 }, | ||||
126 | ); | ||||
127 | |||||
128 | =head1 PRIMARY KEY | ||||
129 | |||||
130 | =over 4 | ||||
131 | |||||
132 | =item * L</overduerules_id> | ||||
133 | |||||
134 | =back | ||||
135 | |||||
136 | =cut | ||||
137 | |||||
138 | 1 | 28µs | 1 | 121µs | __PACKAGE__->set_primary_key("overduerules_id"); # spent 121µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
139 | |||||
140 | =head1 UNIQUE CONSTRAINTS | ||||
141 | |||||
142 | =head2 C<overduerules_branch_cat> | ||||
143 | |||||
144 | =over 4 | ||||
145 | |||||
146 | =item * L</branchcode> | ||||
147 | |||||
148 | =item * L</categorycode> | ||||
149 | |||||
150 | =back | ||||
151 | |||||
152 | =cut | ||||
153 | |||||
154 | 1 | 18µs | 1 | 479µs | __PACKAGE__->add_unique_constraint("overduerules_branch_cat", ["branchcode", "categorycode"]); # spent 479µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
155 | |||||
156 | =head1 RELATIONS | ||||
157 | |||||
158 | =head2 overduerules_transport_types | ||||
159 | |||||
160 | Type: has_many | ||||
161 | |||||
162 | Related object: L<Koha::Schema::Result::OverduerulesTransportType> | ||||
163 | |||||
164 | =cut | ||||
165 | |||||
166 | 1 | 10µs | 1 | 355µs | __PACKAGE__->has_many( # spent 355µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
167 | "overduerules_transport_types", | ||||
168 | "Koha::Schema::Result::OverduerulesTransportType", | ||||
169 | { "foreign.overduerules_id" => "self.overduerules_id" }, | ||||
170 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
171 | ); | ||||
172 | |||||
173 | |||||
174 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28 | ||||
175 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Opfa1YZ3IeQRRbyrbKAkNQ | ||||
176 | |||||
177 | |||||
178 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
179 | 1 | 16µs | 1; |