Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Deleteditem.pm |
Statements | Executed 12 statements in 834µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 29µs | 104µs | BEGIN@16 | Koha::Schema::Result::Deleteditem::
1 | 1 | 1 | 27µs | 30µs | BEGIN@1.2082 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 18µs | BEGIN@13 | Koha::Schema::Result::Deleteditem::
1 | 1 | 1 | 8µs | 16µs | BEGIN@14 | Koha::Schema::Result::Deleteditem::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 76µs | 2 | 33µs | # spent 30µs (27+3) within Class::C3::Componentised::BEGIN@1.2082 which was called:
# once (27µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2082
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Deleteditem; | ||||
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::Deleteditem | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 36µs | 2 | 26µs | # spent 18µs (10+8) within Koha::Schema::Result::Deleteditem::BEGIN@13 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::Deleteditem::BEGIN@13
# spent 8µs making 1 call to strict::import |
14 | 2 | 38µs | 2 | 23µs | # spent 16µs (8+7) within Koha::Schema::Result::Deleteditem::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Deleteditem::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 543µs | 2 | 179µs | # spent 104µs (29+75) within Koha::Schema::Result::Deleteditem::BEGIN@16 which was called:
# once (29µs+75µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 104µs making 1 call to Koha::Schema::Result::Deleteditem::BEGIN@16
# spent 75µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<deleteditems> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 21µs | 1 | 304µs | __PACKAGE__->table("deleteditems"); # spent 304µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 itemnumber | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | default_value: 0 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 biblionumber | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | default_value: 0 | ||||
36 | is_nullable: 0 | ||||
37 | |||||
38 | =head2 biblioitemnumber | ||||
39 | |||||
40 | data_type: 'integer' | ||||
41 | default_value: 0 | ||||
42 | is_nullable: 0 | ||||
43 | |||||
44 | =head2 barcode | ||||
45 | |||||
46 | data_type: 'varchar' | ||||
47 | is_nullable: 1 | ||||
48 | size: 20 | ||||
49 | |||||
50 | =head2 dateaccessioned | ||||
51 | |||||
52 | data_type: 'date' | ||||
53 | datetime_undef_if_invalid: 1 | ||||
54 | is_nullable: 1 | ||||
55 | |||||
56 | =head2 booksellerid | ||||
57 | |||||
58 | data_type: 'mediumtext' | ||||
59 | is_nullable: 1 | ||||
60 | |||||
61 | =head2 homebranch | ||||
62 | |||||
63 | data_type: 'varchar' | ||||
64 | is_nullable: 1 | ||||
65 | size: 10 | ||||
66 | |||||
67 | =head2 price | ||||
68 | |||||
69 | data_type: 'decimal' | ||||
70 | is_nullable: 1 | ||||
71 | size: [8,2] | ||||
72 | |||||
73 | =head2 replacementprice | ||||
74 | |||||
75 | data_type: 'decimal' | ||||
76 | is_nullable: 1 | ||||
77 | size: [8,2] | ||||
78 | |||||
79 | =head2 replacementpricedate | ||||
80 | |||||
81 | data_type: 'date' | ||||
82 | datetime_undef_if_invalid: 1 | ||||
83 | is_nullable: 1 | ||||
84 | |||||
85 | =head2 datelastborrowed | ||||
86 | |||||
87 | data_type: 'date' | ||||
88 | datetime_undef_if_invalid: 1 | ||||
89 | is_nullable: 1 | ||||
90 | |||||
91 | =head2 datelastseen | ||||
92 | |||||
93 | data_type: 'date' | ||||
94 | datetime_undef_if_invalid: 1 | ||||
95 | is_nullable: 1 | ||||
96 | |||||
97 | =head2 stack | ||||
98 | |||||
99 | data_type: 'tinyint' | ||||
100 | is_nullable: 1 | ||||
101 | |||||
102 | =head2 notforloan | ||||
103 | |||||
104 | data_type: 'tinyint' | ||||
105 | default_value: 0 | ||||
106 | is_nullable: 0 | ||||
107 | |||||
108 | =head2 damaged | ||||
109 | |||||
110 | data_type: 'tinyint' | ||||
111 | default_value: 0 | ||||
112 | is_nullable: 0 | ||||
113 | |||||
114 | =head2 itemlost | ||||
115 | |||||
116 | data_type: 'tinyint' | ||||
117 | default_value: 0 | ||||
118 | is_nullable: 0 | ||||
119 | |||||
120 | =head2 itemlost_on | ||||
121 | |||||
122 | data_type: 'datetime' | ||||
123 | datetime_undef_if_invalid: 1 | ||||
124 | is_nullable: 1 | ||||
125 | |||||
126 | =head2 withdrawn | ||||
127 | |||||
128 | data_type: 'tinyint' | ||||
129 | default_value: 0 | ||||
130 | is_nullable: 0 | ||||
131 | |||||
132 | =head2 withdrawn_on | ||||
133 | |||||
134 | data_type: 'datetime' | ||||
135 | datetime_undef_if_invalid: 1 | ||||
136 | is_nullable: 1 | ||||
137 | |||||
138 | =head2 itemcallnumber | ||||
139 | |||||
140 | data_type: 'varchar' | ||||
141 | is_nullable: 1 | ||||
142 | size: 255 | ||||
143 | |||||
144 | =head2 coded_location_qualifier | ||||
145 | |||||
146 | data_type: 'varchar' | ||||
147 | is_nullable: 1 | ||||
148 | size: 10 | ||||
149 | |||||
150 | =head2 issues | ||||
151 | |||||
152 | data_type: 'smallint' | ||||
153 | is_nullable: 1 | ||||
154 | |||||
155 | =head2 renewals | ||||
156 | |||||
157 | data_type: 'smallint' | ||||
158 | is_nullable: 1 | ||||
159 | |||||
160 | =head2 reserves | ||||
161 | |||||
162 | data_type: 'smallint' | ||||
163 | is_nullable: 1 | ||||
164 | |||||
165 | =head2 restricted | ||||
166 | |||||
167 | data_type: 'tinyint' | ||||
168 | is_nullable: 1 | ||||
169 | |||||
170 | =head2 itemnotes | ||||
171 | |||||
172 | data_type: 'mediumtext' | ||||
173 | is_nullable: 1 | ||||
174 | |||||
175 | =head2 itemnotes_nonpublic | ||||
176 | |||||
177 | data_type: 'mediumtext' | ||||
178 | is_nullable: 1 | ||||
179 | |||||
180 | =head2 holdingbranch | ||||
181 | |||||
182 | data_type: 'varchar' | ||||
183 | is_nullable: 1 | ||||
184 | size: 10 | ||||
185 | |||||
186 | =head2 paidfor | ||||
187 | |||||
188 | data_type: 'mediumtext' | ||||
189 | is_nullable: 1 | ||||
190 | |||||
191 | =head2 timestamp | ||||
192 | |||||
193 | data_type: 'timestamp' | ||||
194 | datetime_undef_if_invalid: 1 | ||||
195 | default_value: current_timestamp | ||||
196 | is_nullable: 0 | ||||
197 | |||||
198 | =head2 location | ||||
199 | |||||
200 | data_type: 'varchar' | ||||
201 | is_nullable: 1 | ||||
202 | size: 80 | ||||
203 | |||||
204 | =head2 permanent_location | ||||
205 | |||||
206 | data_type: 'varchar' | ||||
207 | is_nullable: 1 | ||||
208 | size: 80 | ||||
209 | |||||
210 | =head2 onloan | ||||
211 | |||||
212 | data_type: 'date' | ||||
213 | datetime_undef_if_invalid: 1 | ||||
214 | is_nullable: 1 | ||||
215 | |||||
216 | =head2 cn_source | ||||
217 | |||||
218 | data_type: 'varchar' | ||||
219 | is_nullable: 1 | ||||
220 | size: 10 | ||||
221 | |||||
222 | =head2 cn_sort | ||||
223 | |||||
224 | data_type: 'varchar' | ||||
225 | is_nullable: 1 | ||||
226 | size: 255 | ||||
227 | |||||
228 | =head2 ccode | ||||
229 | |||||
230 | data_type: 'varchar' | ||||
231 | is_nullable: 1 | ||||
232 | size: 10 | ||||
233 | |||||
234 | =head2 materials | ||||
235 | |||||
236 | data_type: 'text' | ||||
237 | is_nullable: 1 | ||||
238 | |||||
239 | =head2 uri | ||||
240 | |||||
241 | data_type: 'varchar' | ||||
242 | is_nullable: 1 | ||||
243 | size: 255 | ||||
244 | |||||
245 | =head2 itype | ||||
246 | |||||
247 | data_type: 'varchar' | ||||
248 | is_nullable: 1 | ||||
249 | size: 10 | ||||
250 | |||||
251 | =head2 more_subfields_xml | ||||
252 | |||||
253 | data_type: 'longtext' | ||||
254 | is_nullable: 1 | ||||
255 | |||||
256 | =head2 enumchron | ||||
257 | |||||
258 | data_type: 'text' | ||||
259 | is_nullable: 1 | ||||
260 | |||||
261 | =head2 copynumber | ||||
262 | |||||
263 | data_type: 'varchar' | ||||
264 | is_nullable: 1 | ||||
265 | size: 32 | ||||
266 | |||||
267 | =head2 stocknumber | ||||
268 | |||||
269 | data_type: 'varchar' | ||||
270 | is_nullable: 1 | ||||
271 | size: 32 | ||||
272 | |||||
273 | =cut | ||||
274 | |||||
275 | 1 | 77µs | 1 | 3.28ms | __PACKAGE__->add_columns( # spent 3.28ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
276 | "itemnumber", | ||||
277 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
278 | "biblionumber", | ||||
279 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
280 | "biblioitemnumber", | ||||
281 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
282 | "barcode", | ||||
283 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
284 | "dateaccessioned", | ||||
285 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
286 | "booksellerid", | ||||
287 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
288 | "homebranch", | ||||
289 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
290 | "price", | ||||
291 | { data_type => "decimal", is_nullable => 1, size => [8, 2] }, | ||||
292 | "replacementprice", | ||||
293 | { data_type => "decimal", is_nullable => 1, size => [8, 2] }, | ||||
294 | "replacementpricedate", | ||||
295 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
296 | "datelastborrowed", | ||||
297 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
298 | "datelastseen", | ||||
299 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
300 | "stack", | ||||
301 | { data_type => "tinyint", is_nullable => 1 }, | ||||
302 | "notforloan", | ||||
303 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
304 | "damaged", | ||||
305 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
306 | "itemlost", | ||||
307 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
308 | "itemlost_on", | ||||
309 | { | ||||
310 | data_type => "datetime", | ||||
311 | datetime_undef_if_invalid => 1, | ||||
312 | is_nullable => 1, | ||||
313 | }, | ||||
314 | "withdrawn", | ||||
315 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
316 | "withdrawn_on", | ||||
317 | { | ||||
318 | data_type => "datetime", | ||||
319 | datetime_undef_if_invalid => 1, | ||||
320 | is_nullable => 1, | ||||
321 | }, | ||||
322 | "itemcallnumber", | ||||
323 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
324 | "coded_location_qualifier", | ||||
325 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
326 | "issues", | ||||
327 | { data_type => "smallint", is_nullable => 1 }, | ||||
328 | "renewals", | ||||
329 | { data_type => "smallint", is_nullable => 1 }, | ||||
330 | "reserves", | ||||
331 | { data_type => "smallint", is_nullable => 1 }, | ||||
332 | "restricted", | ||||
333 | { data_type => "tinyint", is_nullable => 1 }, | ||||
334 | "itemnotes", | ||||
335 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
336 | "itemnotes_nonpublic", | ||||
337 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
338 | "holdingbranch", | ||||
339 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
340 | "paidfor", | ||||
341 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
342 | "timestamp", | ||||
343 | { | ||||
344 | data_type => "timestamp", | ||||
345 | datetime_undef_if_invalid => 1, | ||||
346 | default_value => \"current_timestamp", | ||||
347 | is_nullable => 0, | ||||
348 | }, | ||||
349 | "location", | ||||
350 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
351 | "permanent_location", | ||||
352 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
353 | "onloan", | ||||
354 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
355 | "cn_source", | ||||
356 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
357 | "cn_sort", | ||||
358 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
359 | "ccode", | ||||
360 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
361 | "materials", | ||||
362 | { data_type => "text", is_nullable => 1 }, | ||||
363 | "uri", | ||||
364 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
365 | "itype", | ||||
366 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
367 | "more_subfields_xml", | ||||
368 | { data_type => "longtext", is_nullable => 1 }, | ||||
369 | "enumchron", | ||||
370 | { data_type => "text", is_nullable => 1 }, | ||||
371 | "copynumber", | ||||
372 | { data_type => "varchar", is_nullable => 1, size => 32 }, | ||||
373 | "stocknumber", | ||||
374 | { data_type => "varchar", is_nullable => 1, size => 32 }, | ||||
375 | ); | ||||
376 | |||||
377 | =head1 PRIMARY KEY | ||||
378 | |||||
379 | =over 4 | ||||
380 | |||||
381 | =item * L</itemnumber> | ||||
382 | |||||
383 | =back | ||||
384 | |||||
385 | =cut | ||||
386 | |||||
387 | 1 | 20µs | 1 | 82µs | __PACKAGE__->set_primary_key("itemnumber"); # spent 82µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
388 | |||||
389 | |||||
390 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 12:42:12 | ||||
391 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+aDMnEj1EvLQTQPAEl1ocg | ||||
392 | |||||
393 | |||||
394 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
395 | 1 | 24µs | 1; |