← Index
NYTProf Performance Profile   « line view »
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:16:49 2016
Reported on Fri Jan 8 14:23:08 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/Borrower.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11161µs125µsKoha::Schema::Result::Borrower::::BEGIN@16Koha::Schema::Result::Borrower::BEGIN@16
11123µs26µsClass::C3::Componentised::::BEGIN@1.753 Class::C3::Componentised::BEGIN@1.753
11110µs17µsKoha::Schema::Result::Borrower::::BEGIN@13Koha::Schema::Result::Borrower::BEGIN@13
1118µs14µsKoha::Schema::Result::Borrower::::BEGIN@14Koha::Schema::Result::Borrower::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1229µs
# spent 26µs (23+3) within Class::C3::Componentised::BEGIN@1.753 which was called: # once (23µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 26µs making 1 call to Class::C3::Componentised::BEGIN@1.753 # spent 3µs making 1 call to utf8::import
2package 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
9Koha::Schema::Result::Borrower
10
11=cut
12
13224µs
# spent 17µs (10+7) within Koha::Schema::Result::Borrower::BEGIN@13 which was called: # once (10µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 17µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@13 # spent 8µs making 1 call to strict::import
14220µs
# spent 14µs (8+6) within Koha::Schema::Result::Borrower::BEGIN@14 which was called: # once (8µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 14µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@14 # spent 6µs making 1 call to warnings::import
15
162189µs
# spent 125µs (61+64) within Koha::Schema::Result::Borrower::BEGIN@16 which was called: # once (61µs+64µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 125µs making 1 call to Koha::Schema::Result::Borrower::BEGIN@16 # spent 64µs making 1 call to base::import
17
18=head1 TABLE: C<borrowers>
19
20=cut
21
221364µs__PACKAGE__->table("borrowers");
# spent 364µ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
406131.8ms__PACKAGE__->add_columns(
# spent 31.8ms 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
5831110µs__PACKAGE__->set_primary_key("borrowernumber");
# spent 110µ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
597127µs__PACKAGE__->add_unique_constraint("cardnumber", ["cardnumber"]);
598
599=head2 C<userid>
600
601=over 4
602
603=item * L</userid>
604
605=back
606
607=cut
608
609121µs__PACKAGE__->add_unique_constraint("userid", ["userid"]);
610
611=head1 RELATIONS
612
613=head2 accountlines
614
615Type: has_many
616
617Related object: L<Koha::Schema::Result::Accountline>
618
619=cut
620
6211345µs__PACKAGE__->has_many(
# spent 345µ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
630Type: has_many
631
632Related object: L<Koha::Schema::Result::Accountoffset>
633
634=cut
635
6361205µs__PACKAGE__->has_many(
# spent 205µ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
645Type: has_many
646
647Related object: L<Koha::Schema::Result::Aqbasketuser>
648
649=cut
650
6511224µs__PACKAGE__->has_many(
# spent 224µ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
660Type: has_many
661
662Related object: L<Koha::Schema::Result::Aqbudgetborrower>
663
664=cut
665
6661221µs__PACKAGE__->has_many(
# spent 221µ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
675Type: has_many
676
677Related object: L<Koha::Schema::Result::AqorderUser>
678
679=cut
680
6811204µs__PACKAGE__->has_many(
# spent 204µ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
690Type: has_many
691
692Related object: L<Koha::Schema::Result::BorrowerAttribute>
693
694=cut
695
6961235µs__PACKAGE__->has_many(
# spent 235µ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
705Type: has_many
706
707Related object: L<Koha::Schema::Result::BorrowerDebarment>
708
709=cut
710
7111215µs__PACKAGE__->has_many(
# spent 215µ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
720Type: has_many
721
722Related object: L<Koha::Schema::Result::BorrowerFile>
723
724=cut
725
7261216µs__PACKAGE__->has_many(
# spent 216µ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
735Type: has_many
736
737Related object: L<Koha::Schema::Result::BorrowerMessagePreference>
738
739=cut
740
7411220µs__PACKAGE__->has_many(
# spent 220µ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
750Type: has_many
751
752Related object: L<Koha::Schema::Result::BorrowerSync>
753
754=cut
755
7561231µs__PACKAGE__->has_many(
# spent 231µ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
765Type: belongs_to
766
767Related object: L<Koha::Schema::Result::Branch>
768
769=cut
770
77113.98ms__PACKAGE__->belongs_to(
# spent 3.98ms 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
780Type: belongs_to
781
782Related object: L<Koha::Schema::Result::Category>
783
784=cut
785
7861228µs__PACKAGE__->belongs_to(
# spent 228µ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
795Type: has_many
796
797Related object: L<Koha::Schema::Result::CourseInstructor>
798
799=cut
800
8011196µs__PACKAGE__->has_many(
# spent 196µ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
810Type: has_many
811
812Related object: L<Koha::Schema::Result::CreatorBatch>
813
814=cut
815
8161217µs__PACKAGE__->has_many(
# spent 217µ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
825Type: has_many
826
827Related object: L<Koha::Schema::Result::Discharge>
828
829=cut
830
8311229µs__PACKAGE__->has_many(
# spent 229µ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
840Type: has_many
841
842Related object: L<Koha::Schema::Result::HoldFillTarget>
843
844=cut
845
8461229µs__PACKAGE__->has_many(
# spent 229µ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
855Type: has_many
856
857Related object: L<Koha::Schema::Result::Issue>
858
859=cut
860
8611221µs__PACKAGE__->has_many(
# spent 221µ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
870Type: has_many
871
872Related object: L<Koha::Schema::Result::ItemsLastBorrower>
873
874=cut
875
8761236µs__PACKAGE__->has_many(
# spent 236µ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
885Type: has_many
886
887Related object: L<Koha::Schema::Result::MessageQueue>
888
889=cut
890
8911229µs__PACKAGE__->has_many(
# spent 229µ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
900Type: has_many
901
902Related object: L<Koha::Schema::Result::OldIssue>
903
904=cut
905
9061219µs__PACKAGE__->has_many(
# spent 219µ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
915Type: has_many
916
917Related object: L<Koha::Schema::Result::OldReserve>
918
919=cut
920
9211282µs__PACKAGE__->has_many(
# spent 282µs 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
930Type: has_many
931
932Related object: L<Koha::Schema::Result::OpacNews>
933
934=cut
935
9361232µs__PACKAGE__->has_many(
# spent 232µ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
945Type: has_many
946
947Related object: L<Koha::Schema::Result::PatronListPatron>
948
949=cut
950
9511219µs__PACKAGE__->has_many(
# spent 219µ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
960Type: has_many
961
962Related object: L<Koha::Schema::Result::PatronList>
963
964=cut
965
9661226µs__PACKAGE__->has_many(
# spent 226µ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
975Type: might_have
976
977Related object: L<Koha::Schema::Result::Patronimage>
978
979=cut
980
9811202µs__PACKAGE__->might_have(
# spent 202µ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
990Type: has_many
991
992Related object: L<Koha::Schema::Result::Rating>
993
994=cut
995
9961232µs__PACKAGE__->has_many(
# spent 232µ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
1005Type: has_many
1006
1007Related object: L<Koha::Schema::Result::Reserve>
1008
1009=cut
1010
10111253µs__PACKAGE__->has_many(
# spent 253µ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
1020Type: has_many
1021
1022Related object: L<Koha::Schema::Result::Review>
1023
1024=cut
1025
10261226µs__PACKAGE__->has_many(
# spent 226µ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
1035Type: has_many
1036
1037Related object: L<Koha::Schema::Result::Subscriptionroutinglist>
1038
1039=cut
1040
10411227µs__PACKAGE__->has_many(
# spent 227µ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
1050Type: has_many
1051
1052Related object: L<Koha::Schema::Result::TagAll>
1053
1054=cut
1055
10561222µs__PACKAGE__->has_many(
# spent 222µ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
1065Type: has_many
1066
1067Related object: L<Koha::Schema::Result::TagsApproval>
1068
1069=cut
1070
10711237µs__PACKAGE__->has_many(
# spent 237µ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
1080Type: has_many
1081
1082Related object: L<Koha::Schema::Result::UserPermission>
1083
1084=cut
1085
10861225µs__PACKAGE__->has_many(
# spent 225µ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
1095Type: has_many
1096
1097Related object: L<Koha::Schema::Result::Virtualshelfcontent>
1098
1099=cut
1100
11011249µs__PACKAGE__->has_many(
# spent 249µ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
1110Type: has_many
1111
1112Related object: L<Koha::Schema::Result::Virtualshelfshare>
1113
1114=cut
1115
11161232µs__PACKAGE__->has_many(
# spent 232µ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
1125Type: has_many
1126
1127Related object: L<Koha::Schema::Result::Virtualshelve>
1128
1129=cut
1130
11311233µs__PACKAGE__->has_many(
# spent 233µ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
1140Type: many_to_many
1141
1142Composing rels: L</aqbasketusers> -> basketno
1143
1144=cut
1145
11461151µs__PACKAGE__->many_to_many("basketnoes", "aqbasketusers", "basketno");
# spent 151µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many
1147
1148=head2 budgets
1149
1150Type: many_to_many
1151
1152Composing rels: L</aqbudgetborrowers> -> budget
1153
1154=cut
1155
115615.57ms__PACKAGE__->many_to_many("budgets", "aqbudgetborrowers", "budget");
1157
1158=head2 courses
1159
1160Type: many_to_many
1161
1162Composing rels: L</course_instructors> -> course
1163
1164=cut
1165
11661158µs__PACKAGE__->many_to_many("courses", "course_instructors", "course");
# spent 158µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many
1167
1168=head2 ordernumbers
1169
1170Type: many_to_many
1171
1172Composing rels: L</aqorder_users> -> ordernumber
1173
1174=cut
1175
11761116µ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
11821313µs__PACKAGE__->belongs_to(
# spent 313µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
1183 "guarantor",
1184 "Koha::Schema::Result::Borrower",
1185 { borrowernumber => "guarantorid" },
1186);
1187
11881;