Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Borrower.pm |
Statements | Executed 54 statements in 2.32ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 36µs | 39µs | BEGIN@1.1848 | Class::C3::Componentised::
1 | 1 | 1 | 18µs | 26µs | BEGIN@14 | Koha::Schema::Result::Borrower::
1 | 1 | 1 | 10µs | 30µs | BEGIN@13 | Koha::Schema::Result::Borrower::
1 | 1 | 1 | 10µs | 100µs | BEGIN@16 | Koha::Schema::Result::Borrower::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 89µs | 2 | 42µs | # spent 39µs (36+3) within Class::C3::Componentised::BEGIN@1.1848 which was called:
# once (36µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 39µs making 1 call to Class::C3::Componentised::BEGIN@1.1848
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Borrower; | ||||
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::Borrower | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 60µs | 2 | 49µs | # spent 30µs (10+19) within Koha::Schema::Result::Borrower::BEGIN@13 which was called:
# once (10µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 30µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@13
# spent 19µs making 1 call to strict::import |
14 | 2 | 39µs | 2 | 33µs | # spent 26µs (18+8) within Koha::Schema::Result::Borrower::BEGIN@14 which was called:
# once (18µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 26µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 1.55ms | 2 | 190µs | # spent 100µs (10+90) within Koha::Schema::Result::Borrower::BEGIN@16 which was called:
# once (10µs+90µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 100µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@16
# spent 90µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<borrowers> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 48µs | 1 | 608µs | __PACKAGE__->table("borrowers"); # spent 608µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 borrowernumber | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 cardnumber | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_nullable: 1 | ||||
36 | size: 16 | ||||
37 | |||||
38 | =head2 surname | ||||
39 | |||||
40 | data_type: 'mediumtext' | ||||
41 | is_nullable: 0 | ||||
42 | |||||
43 | =head2 firstname | ||||
44 | |||||
45 | data_type: 'text' | ||||
46 | is_nullable: 1 | ||||
47 | |||||
48 | =head2 title | ||||
49 | |||||
50 | data_type: 'mediumtext' | ||||
51 | is_nullable: 1 | ||||
52 | |||||
53 | =head2 othernames | ||||
54 | |||||
55 | data_type: 'mediumtext' | ||||
56 | is_nullable: 1 | ||||
57 | |||||
58 | =head2 initials | ||||
59 | |||||
60 | data_type: 'text' | ||||
61 | is_nullable: 1 | ||||
62 | |||||
63 | =head2 streetnumber | ||||
64 | |||||
65 | data_type: 'varchar' | ||||
66 | is_nullable: 1 | ||||
67 | size: 10 | ||||
68 | |||||
69 | =head2 streettype | ||||
70 | |||||
71 | data_type: 'varchar' | ||||
72 | is_nullable: 1 | ||||
73 | size: 50 | ||||
74 | |||||
75 | =head2 address | ||||
76 | |||||
77 | data_type: 'mediumtext' | ||||
78 | is_nullable: 0 | ||||
79 | |||||
80 | =head2 address2 | ||||
81 | |||||
82 | data_type: 'text' | ||||
83 | is_nullable: 1 | ||||
84 | |||||
85 | =head2 city | ||||
86 | |||||
87 | data_type: 'mediumtext' | ||||
88 | is_nullable: 0 | ||||
89 | |||||
90 | =head2 state | ||||
91 | |||||
92 | data_type: 'text' | ||||
93 | is_nullable: 1 | ||||
94 | |||||
95 | =head2 zipcode | ||||
96 | |||||
97 | data_type: 'varchar' | ||||
98 | is_nullable: 1 | ||||
99 | size: 25 | ||||
100 | |||||
101 | =head2 country | ||||
102 | |||||
103 | data_type: 'text' | ||||
104 | is_nullable: 1 | ||||
105 | |||||
106 | =head2 email | ||||
107 | |||||
108 | data_type: 'mediumtext' | ||||
109 | is_nullable: 1 | ||||
110 | |||||
111 | =head2 phone | ||||
112 | |||||
113 | data_type: 'text' | ||||
114 | is_nullable: 1 | ||||
115 | |||||
116 | =head2 mobile | ||||
117 | |||||
118 | data_type: 'varchar' | ||||
119 | is_nullable: 1 | ||||
120 | size: 50 | ||||
121 | |||||
122 | =head2 fax | ||||
123 | |||||
124 | data_type: 'mediumtext' | ||||
125 | is_nullable: 1 | ||||
126 | |||||
127 | =head2 emailpro | ||||
128 | |||||
129 | data_type: 'text' | ||||
130 | is_nullable: 1 | ||||
131 | |||||
132 | =head2 phonepro | ||||
133 | |||||
134 | data_type: 'text' | ||||
135 | is_nullable: 1 | ||||
136 | |||||
137 | =head2 B_streetnumber | ||||
138 | |||||
139 | accessor: 'b_streetnumber' | ||||
140 | data_type: 'varchar' | ||||
141 | is_nullable: 1 | ||||
142 | size: 10 | ||||
143 | |||||
144 | =head2 B_streettype | ||||
145 | |||||
146 | accessor: 'b_streettype' | ||||
147 | data_type: 'varchar' | ||||
148 | is_nullable: 1 | ||||
149 | size: 50 | ||||
150 | |||||
151 | =head2 B_address | ||||
152 | |||||
153 | accessor: 'b_address' | ||||
154 | data_type: 'varchar' | ||||
155 | is_nullable: 1 | ||||
156 | size: 100 | ||||
157 | |||||
158 | =head2 B_address2 | ||||
159 | |||||
160 | accessor: 'b_address2' | ||||
161 | data_type: 'text' | ||||
162 | is_nullable: 1 | ||||
163 | |||||
164 | =head2 B_city | ||||
165 | |||||
166 | accessor: 'b_city' | ||||
167 | data_type: 'mediumtext' | ||||
168 | is_nullable: 1 | ||||
169 | |||||
170 | =head2 B_state | ||||
171 | |||||
172 | accessor: 'b_state' | ||||
173 | data_type: 'text' | ||||
174 | is_nullable: 1 | ||||
175 | |||||
176 | =head2 B_zipcode | ||||
177 | |||||
178 | accessor: 'b_zipcode' | ||||
179 | data_type: 'varchar' | ||||
180 | is_nullable: 1 | ||||
181 | size: 25 | ||||
182 | |||||
183 | =head2 B_country | ||||
184 | |||||
185 | accessor: 'b_country' | ||||
186 | data_type: 'text' | ||||
187 | is_nullable: 1 | ||||
188 | |||||
189 | =head2 B_email | ||||
190 | |||||
191 | accessor: 'b_email' | ||||
192 | data_type: 'text' | ||||
193 | is_nullable: 1 | ||||
194 | |||||
195 | =head2 B_phone | ||||
196 | |||||
197 | accessor: 'b_phone' | ||||
198 | data_type: 'mediumtext' | ||||
199 | is_nullable: 1 | ||||
200 | |||||
201 | =head2 dateofbirth | ||||
202 | |||||
203 | data_type: 'date' | ||||
204 | datetime_undef_if_invalid: 1 | ||||
205 | is_nullable: 1 | ||||
206 | |||||
207 | =head2 branchcode | ||||
208 | |||||
209 | data_type: 'varchar' | ||||
210 | default_value: (empty string) | ||||
211 | is_foreign_key: 1 | ||||
212 | is_nullable: 0 | ||||
213 | size: 10 | ||||
214 | |||||
215 | =head2 categorycode | ||||
216 | |||||
217 | data_type: 'varchar' | ||||
218 | default_value: (empty string) | ||||
219 | is_foreign_key: 1 | ||||
220 | is_nullable: 0 | ||||
221 | size: 10 | ||||
222 | |||||
223 | =head2 dateenrolled | ||||
224 | |||||
225 | data_type: 'date' | ||||
226 | datetime_undef_if_invalid: 1 | ||||
227 | is_nullable: 1 | ||||
228 | |||||
229 | =head2 dateexpiry | ||||
230 | |||||
231 | data_type: 'date' | ||||
232 | datetime_undef_if_invalid: 1 | ||||
233 | is_nullable: 1 | ||||
234 | |||||
235 | =head2 gonenoaddress | ||||
236 | |||||
237 | data_type: 'tinyint' | ||||
238 | is_nullable: 1 | ||||
239 | |||||
240 | =head2 lost | ||||
241 | |||||
242 | data_type: 'tinyint' | ||||
243 | is_nullable: 1 | ||||
244 | |||||
245 | =head2 debarred | ||||
246 | |||||
247 | data_type: 'date' | ||||
248 | datetime_undef_if_invalid: 1 | ||||
249 | is_nullable: 1 | ||||
250 | |||||
251 | =head2 debarredcomment | ||||
252 | |||||
253 | data_type: 'varchar' | ||||
254 | is_nullable: 1 | ||||
255 | size: 255 | ||||
256 | |||||
257 | =head2 contactname | ||||
258 | |||||
259 | data_type: 'mediumtext' | ||||
260 | is_nullable: 1 | ||||
261 | |||||
262 | =head2 contactfirstname | ||||
263 | |||||
264 | data_type: 'text' | ||||
265 | is_nullable: 1 | ||||
266 | |||||
267 | =head2 contacttitle | ||||
268 | |||||
269 | data_type: 'text' | ||||
270 | is_nullable: 1 | ||||
271 | |||||
272 | =head2 guarantorid | ||||
273 | |||||
274 | data_type: 'integer' | ||||
275 | is_nullable: 1 | ||||
276 | |||||
277 | =head2 borrowernotes | ||||
278 | |||||
279 | data_type: 'mediumtext' | ||||
280 | is_nullable: 1 | ||||
281 | |||||
282 | =head2 relationship | ||||
283 | |||||
284 | data_type: 'varchar' | ||||
285 | is_nullable: 1 | ||||
286 | size: 100 | ||||
287 | |||||
288 | =head2 sex | ||||
289 | |||||
290 | data_type: 'varchar' | ||||
291 | is_nullable: 1 | ||||
292 | size: 1 | ||||
293 | |||||
294 | =head2 password | ||||
295 | |||||
296 | data_type: 'varchar' | ||||
297 | is_nullable: 1 | ||||
298 | size: 60 | ||||
299 | |||||
300 | =head2 flags | ||||
301 | |||||
302 | data_type: 'integer' | ||||
303 | is_nullable: 1 | ||||
304 | |||||
305 | =head2 userid | ||||
306 | |||||
307 | data_type: 'varchar' | ||||
308 | is_nullable: 1 | ||||
309 | size: 75 | ||||
310 | |||||
311 | =head2 opacnote | ||||
312 | |||||
313 | data_type: 'mediumtext' | ||||
314 | is_nullable: 1 | ||||
315 | |||||
316 | =head2 contactnote | ||||
317 | |||||
318 | data_type: 'varchar' | ||||
319 | is_nullable: 1 | ||||
320 | size: 255 | ||||
321 | |||||
322 | =head2 sort1 | ||||
323 | |||||
324 | data_type: 'varchar' | ||||
325 | is_nullable: 1 | ||||
326 | size: 80 | ||||
327 | |||||
328 | =head2 sort2 | ||||
329 | |||||
330 | data_type: 'varchar' | ||||
331 | is_nullable: 1 | ||||
332 | size: 80 | ||||
333 | |||||
334 | =head2 altcontactfirstname | ||||
335 | |||||
336 | data_type: 'varchar' | ||||
337 | is_nullable: 1 | ||||
338 | size: 255 | ||||
339 | |||||
340 | =head2 altcontactsurname | ||||
341 | |||||
342 | data_type: 'varchar' | ||||
343 | is_nullable: 1 | ||||
344 | size: 255 | ||||
345 | |||||
346 | =head2 altcontactaddress1 | ||||
347 | |||||
348 | data_type: 'varchar' | ||||
349 | is_nullable: 1 | ||||
350 | size: 255 | ||||
351 | |||||
352 | =head2 altcontactaddress2 | ||||
353 | |||||
354 | data_type: 'varchar' | ||||
355 | is_nullable: 1 | ||||
356 | size: 255 | ||||
357 | |||||
358 | =head2 altcontactaddress3 | ||||
359 | |||||
360 | data_type: 'varchar' | ||||
361 | is_nullable: 1 | ||||
362 | size: 255 | ||||
363 | |||||
364 | =head2 altcontactstate | ||||
365 | |||||
366 | data_type: 'text' | ||||
367 | is_nullable: 1 | ||||
368 | |||||
369 | =head2 altcontactzipcode | ||||
370 | |||||
371 | data_type: 'varchar' | ||||
372 | is_nullable: 1 | ||||
373 | size: 50 | ||||
374 | |||||
375 | =head2 altcontactcountry | ||||
376 | |||||
377 | data_type: 'text' | ||||
378 | is_nullable: 1 | ||||
379 | |||||
380 | =head2 altcontactphone | ||||
381 | |||||
382 | data_type: 'varchar' | ||||
383 | is_nullable: 1 | ||||
384 | size: 50 | ||||
385 | |||||
386 | =head2 smsalertnumber | ||||
387 | |||||
388 | data_type: 'varchar' | ||||
389 | is_nullable: 1 | ||||
390 | size: 50 | ||||
391 | |||||
392 | =head2 privacy | ||||
393 | |||||
394 | data_type: 'integer' | ||||
395 | default_value: 1 | ||||
396 | is_nullable: 0 | ||||
397 | |||||
398 | =head2 privacy_guarantor_checkouts | ||||
399 | |||||
400 | data_type: 'tinyint' | ||||
401 | default_value: 0 | ||||
402 | is_nullable: 0 | ||||
403 | |||||
404 | =cut | ||||
405 | |||||
406 | 1 | 165µs | 1 | 10.4ms | __PACKAGE__->add_columns( # spent 10.4ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
407 | "borrowernumber", | ||||
408 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
409 | "cardnumber", | ||||
410 | { data_type => "varchar", is_nullable => 1, size => 16 }, | ||||
411 | "surname", | ||||
412 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
413 | "firstname", | ||||
414 | { data_type => "text", is_nullable => 1 }, | ||||
415 | "title", | ||||
416 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
417 | "othernames", | ||||
418 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
419 | "initials", | ||||
420 | { data_type => "text", is_nullable => 1 }, | ||||
421 | "streetnumber", | ||||
422 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
423 | "streettype", | ||||
424 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
425 | "address", | ||||
426 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
427 | "address2", | ||||
428 | { data_type => "text", is_nullable => 1 }, | ||||
429 | "city", | ||||
430 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
431 | "state", | ||||
432 | { data_type => "text", is_nullable => 1 }, | ||||
433 | "zipcode", | ||||
434 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
435 | "country", | ||||
436 | { data_type => "text", is_nullable => 1 }, | ||||
437 | "email", | ||||
438 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
439 | "phone", | ||||
440 | { data_type => "text", is_nullable => 1 }, | ||||
441 | "mobile", | ||||
442 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
443 | "fax", | ||||
444 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
445 | "emailpro", | ||||
446 | { data_type => "text", is_nullable => 1 }, | ||||
447 | "phonepro", | ||||
448 | { data_type => "text", is_nullable => 1 }, | ||||
449 | "B_streetnumber", | ||||
450 | { | ||||
451 | accessor => "b_streetnumber", | ||||
452 | data_type => "varchar", | ||||
453 | is_nullable => 1, | ||||
454 | size => 10, | ||||
455 | }, | ||||
456 | "B_streettype", | ||||
457 | { | ||||
458 | accessor => "b_streettype", | ||||
459 | data_type => "varchar", | ||||
460 | is_nullable => 1, | ||||
461 | size => 50, | ||||
462 | }, | ||||
463 | "B_address", | ||||
464 | { | ||||
465 | accessor => "b_address", | ||||
466 | data_type => "varchar", | ||||
467 | is_nullable => 1, | ||||
468 | size => 100, | ||||
469 | }, | ||||
470 | "B_address2", | ||||
471 | { accessor => "b_address2", data_type => "text", is_nullable => 1 }, | ||||
472 | "B_city", | ||||
473 | { accessor => "b_city", data_type => "mediumtext", is_nullable => 1 }, | ||||
474 | "B_state", | ||||
475 | { accessor => "b_state", data_type => "text", is_nullable => 1 }, | ||||
476 | "B_zipcode", | ||||
477 | { | ||||
478 | accessor => "b_zipcode", | ||||
479 | data_type => "varchar", | ||||
480 | is_nullable => 1, | ||||
481 | size => 25, | ||||
482 | }, | ||||
483 | "B_country", | ||||
484 | { accessor => "b_country", data_type => "text", is_nullable => 1 }, | ||||
485 | "B_email", | ||||
486 | { accessor => "b_email", data_type => "text", is_nullable => 1 }, | ||||
487 | "B_phone", | ||||
488 | { accessor => "b_phone", data_type => "mediumtext", is_nullable => 1 }, | ||||
489 | "dateofbirth", | ||||
490 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
491 | "branchcode", | ||||
492 | { | ||||
493 | data_type => "varchar", | ||||
494 | default_value => "", | ||||
495 | is_foreign_key => 1, | ||||
496 | is_nullable => 0, | ||||
497 | size => 10, | ||||
498 | }, | ||||
499 | "categorycode", | ||||
500 | { | ||||
501 | data_type => "varchar", | ||||
502 | default_value => "", | ||||
503 | is_foreign_key => 1, | ||||
504 | is_nullable => 0, | ||||
505 | size => 10, | ||||
506 | }, | ||||
507 | "dateenrolled", | ||||
508 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
509 | "dateexpiry", | ||||
510 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
511 | "gonenoaddress", | ||||
512 | { data_type => "tinyint", is_nullable => 1 }, | ||||
513 | "lost", | ||||
514 | { data_type => "tinyint", is_nullable => 1 }, | ||||
515 | "debarred", | ||||
516 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
517 | "debarredcomment", | ||||
518 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
519 | "contactname", | ||||
520 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
521 | "contactfirstname", | ||||
522 | { data_type => "text", is_nullable => 1 }, | ||||
523 | "contacttitle", | ||||
524 | { data_type => "text", is_nullable => 1 }, | ||||
525 | "guarantorid", | ||||
526 | { data_type => "integer", is_nullable => 1 }, | ||||
527 | "borrowernotes", | ||||
528 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
529 | "relationship", | ||||
530 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
531 | "sex", | ||||
532 | { data_type => "varchar", is_nullable => 1, size => 1 }, | ||||
533 | "password", | ||||
534 | { data_type => "varchar", is_nullable => 1, size => 60 }, | ||||
535 | "flags", | ||||
536 | { data_type => "integer", is_nullable => 1 }, | ||||
537 | "userid", | ||||
538 | { data_type => "varchar", is_nullable => 1, size => 75 }, | ||||
539 | "opacnote", | ||||
540 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
541 | "contactnote", | ||||
542 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
543 | "sort1", | ||||
544 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
545 | "sort2", | ||||
546 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
547 | "altcontactfirstname", | ||||
548 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
549 | "altcontactsurname", | ||||
550 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
551 | "altcontactaddress1", | ||||
552 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
553 | "altcontactaddress2", | ||||
554 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
555 | "altcontactaddress3", | ||||
556 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
557 | "altcontactstate", | ||||
558 | { data_type => "text", is_nullable => 1 }, | ||||
559 | "altcontactzipcode", | ||||
560 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
561 | "altcontactcountry", | ||||
562 | { data_type => "text", is_nullable => 1 }, | ||||
563 | "altcontactphone", | ||||
564 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
565 | "smsalertnumber", | ||||
566 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
567 | "privacy", | ||||
568 | { data_type => "integer", default_value => 1, is_nullable => 0 }, | ||||
569 | "privacy_guarantor_checkouts", | ||||
570 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
571 | ); | ||||
572 | |||||
573 | =head1 PRIMARY KEY | ||||
574 | |||||
575 | =over 4 | ||||
576 | |||||
577 | =item * L</borrowernumber> | ||||
578 | |||||
579 | =back | ||||
580 | |||||
581 | =cut | ||||
582 | |||||
583 | 1 | 49µs | 1 | 160µs | __PACKAGE__->set_primary_key("borrowernumber"); # spent 160µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
584 | |||||
585 | =head1 UNIQUE CONSTRAINTS | ||||
586 | |||||
587 | =head2 C<cardnumber> | ||||
588 | |||||
589 | =over 4 | ||||
590 | |||||
591 | =item * L</cardnumber> | ||||
592 | |||||
593 | =back | ||||
594 | |||||
595 | =cut | ||||
596 | |||||
597 | 1 | 30µs | 1 | 45µs | __PACKAGE__->add_unique_constraint("cardnumber", ["cardnumber"]); # spent 45µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
598 | |||||
599 | =head2 C<userid> | ||||
600 | |||||
601 | =over 4 | ||||
602 | |||||
603 | =item * L</userid> | ||||
604 | |||||
605 | =back | ||||
606 | |||||
607 | =cut | ||||
608 | |||||
609 | 1 | 3µs | 1 | 36µs | __PACKAGE__->add_unique_constraint("userid", ["userid"]); # spent 36µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
610 | |||||
611 | =head1 RELATIONS | ||||
612 | |||||
613 | =head2 accountlines | ||||
614 | |||||
615 | Type: has_many | ||||
616 | |||||
617 | Related object: L<Koha::Schema::Result::Accountline> | ||||
618 | |||||
619 | =cut | ||||
620 | |||||
621 | 1 | 13µs | 1 | 570µs | __PACKAGE__->has_many( # spent 570µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
622 | "accountlines", | ||||
623 | "Koha::Schema::Result::Accountline", | ||||
624 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
625 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
626 | ); | ||||
627 | |||||
628 | =head2 accountoffsets | ||||
629 | |||||
630 | Type: has_many | ||||
631 | |||||
632 | Related object: L<Koha::Schema::Result::Accountoffset> | ||||
633 | |||||
634 | =cut | ||||
635 | |||||
636 | 1 | 5µs | 1 | 250µs | __PACKAGE__->has_many( # spent 250µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
637 | "accountoffsets", | ||||
638 | "Koha::Schema::Result::Accountoffset", | ||||
639 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
640 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
641 | ); | ||||
642 | |||||
643 | =head2 aqbasketusers | ||||
644 | |||||
645 | Type: has_many | ||||
646 | |||||
647 | Related object: L<Koha::Schema::Result::Aqbasketuser> | ||||
648 | |||||
649 | =cut | ||||
650 | |||||
651 | 1 | 4µs | 1 | 236µs | __PACKAGE__->has_many( # spent 236µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
652 | "aqbasketusers", | ||||
653 | "Koha::Schema::Result::Aqbasketuser", | ||||
654 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
655 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
656 | ); | ||||
657 | |||||
658 | =head2 aqbudgetborrowers | ||||
659 | |||||
660 | Type: has_many | ||||
661 | |||||
662 | Related object: L<Koha::Schema::Result::Aqbudgetborrower> | ||||
663 | |||||
664 | =cut | ||||
665 | |||||
666 | 1 | 4µs | 1 | 249µs | __PACKAGE__->has_many( # spent 249µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
667 | "aqbudgetborrowers", | ||||
668 | "Koha::Schema::Result::Aqbudgetborrower", | ||||
669 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
670 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
671 | ); | ||||
672 | |||||
673 | =head2 aqorder_users | ||||
674 | |||||
675 | Type: has_many | ||||
676 | |||||
677 | Related object: L<Koha::Schema::Result::AqorderUser> | ||||
678 | |||||
679 | =cut | ||||
680 | |||||
681 | 1 | 4µs | 1 | 232µs | __PACKAGE__->has_many( # spent 232µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
682 | "aqorder_users", | ||||
683 | "Koha::Schema::Result::AqorderUser", | ||||
684 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
685 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
686 | ); | ||||
687 | |||||
688 | =head2 borrower_attributes | ||||
689 | |||||
690 | Type: has_many | ||||
691 | |||||
692 | Related object: L<Koha::Schema::Result::BorrowerAttribute> | ||||
693 | |||||
694 | =cut | ||||
695 | |||||
696 | 1 | 4µs | 1 | 256µs | __PACKAGE__->has_many( # spent 256µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
697 | "borrower_attributes", | ||||
698 | "Koha::Schema::Result::BorrowerAttribute", | ||||
699 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
700 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
701 | ); | ||||
702 | |||||
703 | =head2 borrower_debarments | ||||
704 | |||||
705 | Type: has_many | ||||
706 | |||||
707 | Related object: L<Koha::Schema::Result::BorrowerDebarment> | ||||
708 | |||||
709 | =cut | ||||
710 | |||||
711 | 1 | 4µs | 1 | 227µs | __PACKAGE__->has_many( # spent 227µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
712 | "borrower_debarments", | ||||
713 | "Koha::Schema::Result::BorrowerDebarment", | ||||
714 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
715 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
716 | ); | ||||
717 | |||||
718 | =head2 borrower_files | ||||
719 | |||||
720 | Type: has_many | ||||
721 | |||||
722 | Related object: L<Koha::Schema::Result::BorrowerFile> | ||||
723 | |||||
724 | =cut | ||||
725 | |||||
726 | 1 | 4µs | 1 | 228µs | __PACKAGE__->has_many( # spent 228µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
727 | "borrower_files", | ||||
728 | "Koha::Schema::Result::BorrowerFile", | ||||
729 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
730 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
731 | ); | ||||
732 | |||||
733 | =head2 borrower_message_preferences | ||||
734 | |||||
735 | Type: has_many | ||||
736 | |||||
737 | Related object: L<Koha::Schema::Result::BorrowerMessagePreference> | ||||
738 | |||||
739 | =cut | ||||
740 | |||||
741 | 1 | 4µs | 1 | 229µs | __PACKAGE__->has_many( # spent 229µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
742 | "borrower_message_preferences", | ||||
743 | "Koha::Schema::Result::BorrowerMessagePreference", | ||||
744 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
745 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
746 | ); | ||||
747 | |||||
748 | =head2 borrower_syncs | ||||
749 | |||||
750 | Type: has_many | ||||
751 | |||||
752 | Related object: L<Koha::Schema::Result::BorrowerSync> | ||||
753 | |||||
754 | =cut | ||||
755 | |||||
756 | 1 | 4µs | 1 | 223µs | __PACKAGE__->has_many( # spent 223µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
757 | "borrower_syncs", | ||||
758 | "Koha::Schema::Result::BorrowerSync", | ||||
759 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
760 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
761 | ); | ||||
762 | |||||
763 | =head2 branchcode | ||||
764 | |||||
765 | Type: belongs_to | ||||
766 | |||||
767 | Related object: L<Koha::Schema::Result::Branch> | ||||
768 | |||||
769 | =cut | ||||
770 | |||||
771 | 1 | 17µs | 1 | 398µs | __PACKAGE__->belongs_to( # spent 398µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
772 | "branchcode", | ||||
773 | "Koha::Schema::Result::Branch", | ||||
774 | { branchcode => "branchcode" }, | ||||
775 | { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, | ||||
776 | ); | ||||
777 | |||||
778 | =head2 categorycode | ||||
779 | |||||
780 | Type: belongs_to | ||||
781 | |||||
782 | Related object: L<Koha::Schema::Result::Category> | ||||
783 | |||||
784 | =cut | ||||
785 | |||||
786 | 1 | 6µs | 1 | 215µs | __PACKAGE__->belongs_to( # spent 215µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
787 | "categorycode", | ||||
788 | "Koha::Schema::Result::Category", | ||||
789 | { categorycode => "categorycode" }, | ||||
790 | { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, | ||||
791 | ); | ||||
792 | |||||
793 | =head2 course_instructors | ||||
794 | |||||
795 | Type: has_many | ||||
796 | |||||
797 | Related object: L<Koha::Schema::Result::CourseInstructor> | ||||
798 | |||||
799 | =cut | ||||
800 | |||||
801 | 1 | 4µs | 1 | 242µs | __PACKAGE__->has_many( # spent 242µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
802 | "course_instructors", | ||||
803 | "Koha::Schema::Result::CourseInstructor", | ||||
804 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
805 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
806 | ); | ||||
807 | |||||
808 | =head2 creator_batches | ||||
809 | |||||
810 | Type: has_many | ||||
811 | |||||
812 | Related object: L<Koha::Schema::Result::CreatorBatch> | ||||
813 | |||||
814 | =cut | ||||
815 | |||||
816 | 1 | 6µs | 1 | 289µs | __PACKAGE__->has_many( # spent 289µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
817 | "creator_batches", | ||||
818 | "Koha::Schema::Result::CreatorBatch", | ||||
819 | { "foreign.borrower_number" => "self.borrowernumber" }, | ||||
820 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
821 | ); | ||||
822 | |||||
823 | =head2 discharges | ||||
824 | |||||
825 | Type: has_many | ||||
826 | |||||
827 | Related object: L<Koha::Schema::Result::Discharge> | ||||
828 | |||||
829 | =cut | ||||
830 | |||||
831 | 1 | 4µs | 1 | 234µs | __PACKAGE__->has_many( # spent 234µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
832 | "discharges", | ||||
833 | "Koha::Schema::Result::Discharge", | ||||
834 | { "foreign.borrower" => "self.borrowernumber" }, | ||||
835 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
836 | ); | ||||
837 | |||||
838 | =head2 hold_fill_targets | ||||
839 | |||||
840 | Type: has_many | ||||
841 | |||||
842 | Related object: L<Koha::Schema::Result::HoldFillTarget> | ||||
843 | |||||
844 | =cut | ||||
845 | |||||
846 | 1 | 4µs | 1 | 228µs | __PACKAGE__->has_many( # spent 228µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
847 | "hold_fill_targets", | ||||
848 | "Koha::Schema::Result::HoldFillTarget", | ||||
849 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
850 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
851 | ); | ||||
852 | |||||
853 | =head2 issues | ||||
854 | |||||
855 | Type: has_many | ||||
856 | |||||
857 | Related object: L<Koha::Schema::Result::Issue> | ||||
858 | |||||
859 | =cut | ||||
860 | |||||
861 | 1 | 4µs | 1 | 250µs | __PACKAGE__->has_many( # spent 250µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
862 | "issues", | ||||
863 | "Koha::Schema::Result::Issue", | ||||
864 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
865 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
866 | ); | ||||
867 | |||||
868 | =head2 items_last_borrowers | ||||
869 | |||||
870 | Type: has_many | ||||
871 | |||||
872 | Related object: L<Koha::Schema::Result::ItemsLastBorrower> | ||||
873 | |||||
874 | =cut | ||||
875 | |||||
876 | 1 | 4µs | 1 | 252µs | __PACKAGE__->has_many( # spent 252µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
877 | "items_last_borrowers", | ||||
878 | "Koha::Schema::Result::ItemsLastBorrower", | ||||
879 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
880 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
881 | ); | ||||
882 | |||||
883 | =head2 message_queues | ||||
884 | |||||
885 | Type: has_many | ||||
886 | |||||
887 | Related object: L<Koha::Schema::Result::MessageQueue> | ||||
888 | |||||
889 | =cut | ||||
890 | |||||
891 | 1 | 4µs | 1 | 255µs | __PACKAGE__->has_many( # spent 255µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
892 | "message_queues", | ||||
893 | "Koha::Schema::Result::MessageQueue", | ||||
894 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
895 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
896 | ); | ||||
897 | |||||
898 | =head2 old_issues | ||||
899 | |||||
900 | Type: has_many | ||||
901 | |||||
902 | Related object: L<Koha::Schema::Result::OldIssue> | ||||
903 | |||||
904 | =cut | ||||
905 | |||||
906 | 1 | 4µs | 1 | 236µs | __PACKAGE__->has_many( # spent 236µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
907 | "old_issues", | ||||
908 | "Koha::Schema::Result::OldIssue", | ||||
909 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
910 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
911 | ); | ||||
912 | |||||
913 | =head2 old_reserves | ||||
914 | |||||
915 | Type: has_many | ||||
916 | |||||
917 | Related object: L<Koha::Schema::Result::OldReserve> | ||||
918 | |||||
919 | =cut | ||||
920 | |||||
921 | 1 | 4µs | 1 | 4.69ms | __PACKAGE__->has_many( # spent 4.69ms making 1 call to DBIx::Class::Relationship::HasMany::has_many |
922 | "old_reserves", | ||||
923 | "Koha::Schema::Result::OldReserve", | ||||
924 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
925 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
926 | ); | ||||
927 | |||||
928 | =head2 opac_news | ||||
929 | |||||
930 | Type: has_many | ||||
931 | |||||
932 | Related object: L<Koha::Schema::Result::OpacNews> | ||||
933 | |||||
934 | =cut | ||||
935 | |||||
936 | 1 | 6µs | 1 | 311µs | __PACKAGE__->has_many( # spent 311µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
937 | "opac_news", | ||||
938 | "Koha::Schema::Result::OpacNews", | ||||
939 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
940 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
941 | ); | ||||
942 | |||||
943 | =head2 patron_list_patrons | ||||
944 | |||||
945 | Type: has_many | ||||
946 | |||||
947 | Related object: L<Koha::Schema::Result::PatronListPatron> | ||||
948 | |||||
949 | =cut | ||||
950 | |||||
951 | 1 | 4µs | 1 | 164µs | __PACKAGE__->has_many( # spent 164µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
952 | "patron_list_patrons", | ||||
953 | "Koha::Schema::Result::PatronListPatron", | ||||
954 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
955 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
956 | ); | ||||
957 | |||||
958 | =head2 patron_lists | ||||
959 | |||||
960 | Type: has_many | ||||
961 | |||||
962 | Related object: L<Koha::Schema::Result::PatronList> | ||||
963 | |||||
964 | =cut | ||||
965 | |||||
966 | 1 | 5µs | 1 | 240µs | __PACKAGE__->has_many( # spent 240µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
967 | "patron_lists", | ||||
968 | "Koha::Schema::Result::PatronList", | ||||
969 | { "foreign.owner" => "self.borrowernumber" }, | ||||
970 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
971 | ); | ||||
972 | |||||
973 | =head2 patronimage | ||||
974 | |||||
975 | Type: might_have | ||||
976 | |||||
977 | Related object: L<Koha::Schema::Result::Patronimage> | ||||
978 | |||||
979 | =cut | ||||
980 | |||||
981 | 1 | 15µs | 1 | 219µs | __PACKAGE__->might_have( # spent 219µs making 1 call to DBIx::Class::Relationship::HasOne::might_have |
982 | "patronimage", | ||||
983 | "Koha::Schema::Result::Patronimage", | ||||
984 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
985 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
986 | ); | ||||
987 | |||||
988 | =head2 ratings | ||||
989 | |||||
990 | Type: has_many | ||||
991 | |||||
992 | Related object: L<Koha::Schema::Result::Rating> | ||||
993 | |||||
994 | =cut | ||||
995 | |||||
996 | 1 | 4µs | 1 | 233µs | __PACKAGE__->has_many( # spent 233µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
997 | "ratings", | ||||
998 | "Koha::Schema::Result::Rating", | ||||
999 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1000 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1001 | ); | ||||
1002 | |||||
1003 | =head2 reserves | ||||
1004 | |||||
1005 | Type: has_many | ||||
1006 | |||||
1007 | Related object: L<Koha::Schema::Result::Reserve> | ||||
1008 | |||||
1009 | =cut | ||||
1010 | |||||
1011 | 1 | 4µs | 1 | 235µs | __PACKAGE__->has_many( # spent 235µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1012 | "reserves", | ||||
1013 | "Koha::Schema::Result::Reserve", | ||||
1014 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1015 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1016 | ); | ||||
1017 | |||||
1018 | =head2 reviews | ||||
1019 | |||||
1020 | Type: has_many | ||||
1021 | |||||
1022 | Related object: L<Koha::Schema::Result::Review> | ||||
1023 | |||||
1024 | =cut | ||||
1025 | |||||
1026 | 1 | 4µs | 1 | 258µs | __PACKAGE__->has_many( # spent 258µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1027 | "reviews", | ||||
1028 | "Koha::Schema::Result::Review", | ||||
1029 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1030 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1031 | ); | ||||
1032 | |||||
1033 | =head2 subscriptionroutinglists | ||||
1034 | |||||
1035 | Type: has_many | ||||
1036 | |||||
1037 | Related object: L<Koha::Schema::Result::Subscriptionroutinglist> | ||||
1038 | |||||
1039 | =cut | ||||
1040 | |||||
1041 | 1 | 4µs | 1 | 250µs | __PACKAGE__->has_many( # spent 250µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1042 | "subscriptionroutinglists", | ||||
1043 | "Koha::Schema::Result::Subscriptionroutinglist", | ||||
1044 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1045 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1046 | ); | ||||
1047 | |||||
1048 | =head2 tags_all | ||||
1049 | |||||
1050 | Type: has_many | ||||
1051 | |||||
1052 | Related object: L<Koha::Schema::Result::TagAll> | ||||
1053 | |||||
1054 | =cut | ||||
1055 | |||||
1056 | 1 | 4µs | 1 | 254µs | __PACKAGE__->has_many( # spent 254µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1057 | "tags_all", | ||||
1058 | "Koha::Schema::Result::TagAll", | ||||
1059 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1060 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1061 | ); | ||||
1062 | |||||
1063 | =head2 tags_approvals | ||||
1064 | |||||
1065 | Type: has_many | ||||
1066 | |||||
1067 | Related object: L<Koha::Schema::Result::TagsApproval> | ||||
1068 | |||||
1069 | =cut | ||||
1070 | |||||
1071 | 1 | 5µs | 1 | 222µs | __PACKAGE__->has_many( # spent 222µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1072 | "tags_approvals", | ||||
1073 | "Koha::Schema::Result::TagsApproval", | ||||
1074 | { "foreign.approved_by" => "self.borrowernumber" }, | ||||
1075 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1076 | ); | ||||
1077 | |||||
1078 | =head2 user_permissions | ||||
1079 | |||||
1080 | Type: has_many | ||||
1081 | |||||
1082 | Related object: L<Koha::Schema::Result::UserPermission> | ||||
1083 | |||||
1084 | =cut | ||||
1085 | |||||
1086 | 1 | 4µs | 1 | 227µs | __PACKAGE__->has_many( # spent 227µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1087 | "user_permissions", | ||||
1088 | "Koha::Schema::Result::UserPermission", | ||||
1089 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1090 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1091 | ); | ||||
1092 | |||||
1093 | =head2 virtualshelfcontents | ||||
1094 | |||||
1095 | Type: has_many | ||||
1096 | |||||
1097 | Related object: L<Koha::Schema::Result::Virtualshelfcontent> | ||||
1098 | |||||
1099 | =cut | ||||
1100 | |||||
1101 | 1 | 4µs | 1 | 255µs | __PACKAGE__->has_many( # spent 255µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1102 | "virtualshelfcontents", | ||||
1103 | "Koha::Schema::Result::Virtualshelfcontent", | ||||
1104 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1105 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1106 | ); | ||||
1107 | |||||
1108 | =head2 virtualshelfshares | ||||
1109 | |||||
1110 | Type: has_many | ||||
1111 | |||||
1112 | Related object: L<Koha::Schema::Result::Virtualshelfshare> | ||||
1113 | |||||
1114 | =cut | ||||
1115 | |||||
1116 | 1 | 4µs | 1 | 225µs | __PACKAGE__->has_many( # spent 225µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1117 | "virtualshelfshares", | ||||
1118 | "Koha::Schema::Result::Virtualshelfshare", | ||||
1119 | { "foreign.borrowernumber" => "self.borrowernumber" }, | ||||
1120 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1121 | ); | ||||
1122 | |||||
1123 | =head2 virtualshelves | ||||
1124 | |||||
1125 | Type: has_many | ||||
1126 | |||||
1127 | Related object: L<Koha::Schema::Result::Virtualshelve> | ||||
1128 | |||||
1129 | =cut | ||||
1130 | |||||
1131 | 1 | 4µs | 1 | 247µs | __PACKAGE__->has_many( # spent 247µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
1132 | "virtualshelves", | ||||
1133 | "Koha::Schema::Result::Virtualshelve", | ||||
1134 | { "foreign.owner" => "self.borrowernumber" }, | ||||
1135 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
1136 | ); | ||||
1137 | |||||
1138 | =head2 basketnoes | ||||
1139 | |||||
1140 | Type: many_to_many | ||||
1141 | |||||
1142 | Composing rels: L</aqbasketusers> -> basketno | ||||
1143 | |||||
1144 | =cut | ||||
1145 | |||||
1146 | 1 | 12µs | 1 | 165µs | __PACKAGE__->many_to_many("basketnoes", "aqbasketusers", "basketno"); # spent 165µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many |
1147 | |||||
1148 | =head2 budgets | ||||
1149 | |||||
1150 | Type: many_to_many | ||||
1151 | |||||
1152 | Composing rels: L</aqbudgetborrowers> -> budget | ||||
1153 | |||||
1154 | =cut | ||||
1155 | |||||
1156 | 1 | 3µs | 1 | 87µs | __PACKAGE__->many_to_many("budgets", "aqbudgetborrowers", "budget"); # spent 87µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many |
1157 | |||||
1158 | =head2 courses | ||||
1159 | |||||
1160 | Type: many_to_many | ||||
1161 | |||||
1162 | Composing rels: L</course_instructors> -> course | ||||
1163 | |||||
1164 | =cut | ||||
1165 | |||||
1166 | 1 | 200ns | 1 | 48µs | __PACKAGE__->many_to_many("courses", "course_instructors", "course"); # spent 48µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many |
1167 | |||||
1168 | =head2 ordernumbers | ||||
1169 | |||||
1170 | Type: many_to_many | ||||
1171 | |||||
1172 | Composing rels: L</aqorder_users> -> ordernumber | ||||
1173 | |||||
1174 | =cut | ||||
1175 | |||||
1176 | 1 | 2µs | 1 | 116µs | __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); # spent 116µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many |
1177 | |||||
1178 | |||||
1179 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 11:59:52 | ||||
1180 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0nIBbkzhb+Yfp6qpSLo51A | ||||
1181 | |||||
1182 | 1 | 4µs | 1 | 209µs | __PACKAGE__->belongs_to( # spent 209µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
1183 | "guarantor", | ||||
1184 | "Koha::Schema::Result::Borrower", | ||||
1185 | { borrowernumber => "guarantorid" }, | ||||
1186 | ); | ||||
1187 | |||||
1188 | 1 | 82µs | 1; |