Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Biblio.pm |
Statements | Executed 23 statements in 753µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 33µs | 36µs | BEGIN@1.989 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 20µs | BEGIN@13 | Koha::Schema::Result::Biblio::
1 | 1 | 1 | 8µs | 15µs | BEGIN@14 | Koha::Schema::Result::Biblio::
1 | 1 | 1 | 8µs | 65µs | BEGIN@16 | Koha::Schema::Result::Biblio::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 85µs | 2 | 39µs | # spent 36µs (33+3) within Class::C3::Componentised::BEGIN@1.989 which was called:
# once (33µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.989
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Biblio; | ||||
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::Biblio | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::Biblio::BEGIN@13 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::Biblio::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 37µs | 2 | 22µs | # spent 15µs (8+7) within Koha::Schema::Result::Biblio::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::Biblio::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 447µs | 2 | 123µs | # spent 65µs (8+57) within Koha::Schema::Result::Biblio::BEGIN@16 which was called:
# once (8µs+57µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 65µs making 1 call to Koha::Schema::Result::Biblio::BEGIN@16
# spent 57µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<biblio> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 19µs | 1 | 360µs | __PACKAGE__->table("biblio"); # spent 360µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 biblionumber | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 frameworkcode | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: (empty string) | ||||
36 | is_nullable: 0 | ||||
37 | size: 4 | ||||
38 | |||||
39 | =head2 author | ||||
40 | |||||
41 | data_type: 'mediumtext' | ||||
42 | is_nullable: 1 | ||||
43 | |||||
44 | =head2 title | ||||
45 | |||||
46 | data_type: 'mediumtext' | ||||
47 | is_nullable: 1 | ||||
48 | |||||
49 | =head2 unititle | ||||
50 | |||||
51 | data_type: 'mediumtext' | ||||
52 | is_nullable: 1 | ||||
53 | |||||
54 | =head2 notes | ||||
55 | |||||
56 | data_type: 'mediumtext' | ||||
57 | is_nullable: 1 | ||||
58 | |||||
59 | =head2 serial | ||||
60 | |||||
61 | data_type: 'tinyint' | ||||
62 | is_nullable: 1 | ||||
63 | |||||
64 | =head2 seriestitle | ||||
65 | |||||
66 | data_type: 'mediumtext' | ||||
67 | is_nullable: 1 | ||||
68 | |||||
69 | =head2 copyrightdate | ||||
70 | |||||
71 | data_type: 'smallint' | ||||
72 | is_nullable: 1 | ||||
73 | |||||
74 | =head2 timestamp | ||||
75 | |||||
76 | data_type: 'timestamp' | ||||
77 | datetime_undef_if_invalid: 1 | ||||
78 | default_value: current_timestamp | ||||
79 | is_nullable: 0 | ||||
80 | |||||
81 | =head2 datecreated | ||||
82 | |||||
83 | data_type: 'date' | ||||
84 | datetime_undef_if_invalid: 1 | ||||
85 | is_nullable: 0 | ||||
86 | |||||
87 | =head2 abstract | ||||
88 | |||||
89 | data_type: 'mediumtext' | ||||
90 | is_nullable: 1 | ||||
91 | |||||
92 | =cut | ||||
93 | |||||
94 | 1 | 26µs | 1 | 3.23ms | __PACKAGE__->add_columns( # spent 3.23ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
95 | "biblionumber", | ||||
96 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
97 | "frameworkcode", | ||||
98 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 }, | ||||
99 | "author", | ||||
100 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
101 | "title", | ||||
102 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
103 | "unititle", | ||||
104 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
105 | "notes", | ||||
106 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
107 | "serial", | ||||
108 | { data_type => "tinyint", is_nullable => 1 }, | ||||
109 | "seriestitle", | ||||
110 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
111 | "copyrightdate", | ||||
112 | { data_type => "smallint", is_nullable => 1 }, | ||||
113 | "timestamp", | ||||
114 | { | ||||
115 | data_type => "timestamp", | ||||
116 | datetime_undef_if_invalid => 1, | ||||
117 | default_value => \"current_timestamp", | ||||
118 | is_nullable => 0, | ||||
119 | }, | ||||
120 | "datecreated", | ||||
121 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 }, | ||||
122 | "abstract", | ||||
123 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
124 | ); | ||||
125 | |||||
126 | =head1 PRIMARY KEY | ||||
127 | |||||
128 | =over 4 | ||||
129 | |||||
130 | =item * L</biblionumber> | ||||
131 | |||||
132 | =back | ||||
133 | |||||
134 | =cut | ||||
135 | |||||
136 | 1 | 18µs | 1 | 77µs | __PACKAGE__->set_primary_key("biblionumber"); # spent 77µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
137 | |||||
138 | =head1 RELATIONS | ||||
139 | |||||
140 | =head2 aqorders | ||||
141 | |||||
142 | Type: has_many | ||||
143 | |||||
144 | Related object: L<Koha::Schema::Result::Aqorder> | ||||
145 | |||||
146 | =cut | ||||
147 | |||||
148 | 1 | 9µs | 1 | 404µs | __PACKAGE__->has_many( # spent 404µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
149 | "aqorders", | ||||
150 | "Koha::Schema::Result::Aqorder", | ||||
151 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
152 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
153 | ); | ||||
154 | |||||
155 | =head2 biblioimages | ||||
156 | |||||
157 | Type: has_many | ||||
158 | |||||
159 | Related object: L<Koha::Schema::Result::Biblioimage> | ||||
160 | |||||
161 | =cut | ||||
162 | |||||
163 | 1 | 5µs | 1 | 247µs | __PACKAGE__->has_many( # spent 247µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
164 | "biblioimages", | ||||
165 | "Koha::Schema::Result::Biblioimage", | ||||
166 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
167 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
168 | ); | ||||
169 | |||||
170 | =head2 biblioitems | ||||
171 | |||||
172 | Type: has_many | ||||
173 | |||||
174 | Related object: L<Koha::Schema::Result::Biblioitem> | ||||
175 | |||||
176 | =cut | ||||
177 | |||||
178 | 1 | 4µs | 1 | 216µs | __PACKAGE__->has_many( # spent 216µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
179 | "biblioitems", | ||||
180 | "Koha::Schema::Result::Biblioitem", | ||||
181 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
182 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
183 | ); | ||||
184 | |||||
185 | =head2 hold_fill_targets | ||||
186 | |||||
187 | Type: has_many | ||||
188 | |||||
189 | Related object: L<Koha::Schema::Result::HoldFillTarget> | ||||
190 | |||||
191 | =cut | ||||
192 | |||||
193 | 1 | 4µs | 1 | 219µs | __PACKAGE__->has_many( # spent 219µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
194 | "hold_fill_targets", | ||||
195 | "Koha::Schema::Result::HoldFillTarget", | ||||
196 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
197 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
198 | ); | ||||
199 | |||||
200 | =head2 old_reserves | ||||
201 | |||||
202 | Type: has_many | ||||
203 | |||||
204 | Related object: L<Koha::Schema::Result::OldReserve> | ||||
205 | |||||
206 | =cut | ||||
207 | |||||
208 | 1 | 4µs | 1 | 221µs | __PACKAGE__->has_many( # spent 221µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
209 | "old_reserves", | ||||
210 | "Koha::Schema::Result::OldReserve", | ||||
211 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
212 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
213 | ); | ||||
214 | |||||
215 | =head2 ratings | ||||
216 | |||||
217 | Type: has_many | ||||
218 | |||||
219 | Related object: L<Koha::Schema::Result::Rating> | ||||
220 | |||||
221 | =cut | ||||
222 | |||||
223 | 1 | 4µs | 1 | 4.18ms | __PACKAGE__->has_many( # spent 4.18ms making 1 call to DBIx::Class::Relationship::HasMany::has_many |
224 | "ratings", | ||||
225 | "Koha::Schema::Result::Rating", | ||||
226 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
227 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
228 | ); | ||||
229 | |||||
230 | =head2 reserves | ||||
231 | |||||
232 | Type: has_many | ||||
233 | |||||
234 | Related object: L<Koha::Schema::Result::Reserve> | ||||
235 | |||||
236 | =cut | ||||
237 | |||||
238 | 1 | 5µs | 1 | 272µs | __PACKAGE__->has_many( # spent 272µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
239 | "reserves", | ||||
240 | "Koha::Schema::Result::Reserve", | ||||
241 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
242 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
243 | ); | ||||
244 | |||||
245 | =head2 reviews | ||||
246 | |||||
247 | Type: has_many | ||||
248 | |||||
249 | Related object: L<Koha::Schema::Result::Review> | ||||
250 | |||||
251 | =cut | ||||
252 | |||||
253 | 1 | 4µs | 1 | 236µs | __PACKAGE__->has_many( # spent 236µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
254 | "reviews", | ||||
255 | "Koha::Schema::Result::Review", | ||||
256 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
257 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
258 | ); | ||||
259 | |||||
260 | =head2 tags_all | ||||
261 | |||||
262 | Type: has_many | ||||
263 | |||||
264 | Related object: L<Koha::Schema::Result::TagAll> | ||||
265 | |||||
266 | =cut | ||||
267 | |||||
268 | 1 | 4µs | 1 | 230µs | __PACKAGE__->has_many( # spent 230µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
269 | "tags_all", | ||||
270 | "Koha::Schema::Result::TagAll", | ||||
271 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
272 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
273 | ); | ||||
274 | |||||
275 | =head2 tags_indexes | ||||
276 | |||||
277 | Type: has_many | ||||
278 | |||||
279 | Related object: L<Koha::Schema::Result::TagsIndex> | ||||
280 | |||||
281 | =cut | ||||
282 | |||||
283 | 1 | 4µs | 1 | 226µs | __PACKAGE__->has_many( # spent 226µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
284 | "tags_indexes", | ||||
285 | "Koha::Schema::Result::TagsIndex", | ||||
286 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
287 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
288 | ); | ||||
289 | |||||
290 | =head2 virtualshelfcontents | ||||
291 | |||||
292 | Type: has_many | ||||
293 | |||||
294 | Related object: L<Koha::Schema::Result::Virtualshelfcontent> | ||||
295 | |||||
296 | =cut | ||||
297 | |||||
298 | 1 | 4µs | 1 | 293µs | __PACKAGE__->has_many( # spent 293µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
299 | "virtualshelfcontents", | ||||
300 | "Koha::Schema::Result::Virtualshelfcontent", | ||||
301 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
302 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
303 | ); | ||||
304 | |||||
305 | |||||
306 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22 | ||||
307 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vh7DAGajJCEzHE7YmAG3jg | ||||
308 | |||||
309 | 1 | 30µs | 1; |