Filename | /home/vagrant/kohaclone/Koha/Schema/Result/BorrowerAttribute.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 30µs | 34µs | BEGIN@1.1392 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 79µs | BEGIN@16 | Koha::Schema::Result::BorrowerAttribute::
1 | 1 | 1 | 10µs | 20µs | BEGIN@13 | Koha::Schema::Result::BorrowerAttribute::
1 | 1 | 1 | 9µs | 16µs | BEGIN@14 | Koha::Schema::Result::BorrowerAttribute::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 38µs | # spent 34µs (30+4) within Class::C3::Componentised::BEGIN@1.1392 which was called:
# once (30µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.1392
# spent 4µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::BorrowerAttribute; | ||||
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::BorrowerAttribute | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::BorrowerAttribute::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::BorrowerAttribute::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
14 | 2 | 24µs | # spent 16µs (9+8) within Koha::Schema::Result::BorrowerAttribute::BEGIN@14 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::BorrowerAttribute::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 148µs | # spent 79µs (10+69) within Koha::Schema::Result::BorrowerAttribute::BEGIN@16 which was called:
# once (10µs+69µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 79µs making 1 call to Koha::Schema::Result::BorrowerAttribute::BEGIN@16
# spent 69µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<borrower_attributes> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 339µs | __PACKAGE__->table("borrower_attributes"); # spent 339µ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_foreign_key: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 code | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_foreign_key: 1 | ||||
36 | is_nullable: 0 | ||||
37 | size: 10 | ||||
38 | |||||
39 | =head2 attribute | ||||
40 | |||||
41 | data_type: 'varchar' | ||||
42 | is_nullable: 1 | ||||
43 | size: 255 | ||||
44 | |||||
45 | =head2 password | ||||
46 | |||||
47 | data_type: 'varchar' | ||||
48 | is_nullable: 1 | ||||
49 | size: 64 | ||||
50 | |||||
51 | =cut | ||||
52 | |||||
53 | 1 | 827µs | __PACKAGE__->add_columns( # spent 827µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
54 | "borrowernumber", | ||||
55 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
56 | "code", | ||||
57 | { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, | ||||
58 | "attribute", | ||||
59 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
60 | "password", | ||||
61 | { data_type => "varchar", is_nullable => 1, size => 64 }, | ||||
62 | ); | ||||
63 | |||||
64 | =head1 RELATIONS | ||||
65 | |||||
66 | =head2 borrowernumber | ||||
67 | |||||
68 | Type: belongs_to | ||||
69 | |||||
70 | Related object: L<Koha::Schema::Result::Borrower> | ||||
71 | |||||
72 | =cut | ||||
73 | |||||
74 | 1 | 352µs | __PACKAGE__->belongs_to( # spent 352µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
75 | "borrowernumber", | ||||
76 | "Koha::Schema::Result::Borrower", | ||||
77 | { borrowernumber => "borrowernumber" }, | ||||
78 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
79 | ); | ||||
80 | |||||
81 | =head2 code | ||||
82 | |||||
83 | Type: belongs_to | ||||
84 | |||||
85 | Related object: L<Koha::Schema::Result::BorrowerAttributeType> | ||||
86 | |||||
87 | =cut | ||||
88 | |||||
89 | 1 | 634µs | __PACKAGE__->belongs_to( # spent 634µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
90 | "code", | ||||
91 | "Koha::Schema::Result::BorrowerAttributeType", | ||||
92 | { code => "code" }, | ||||
93 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
94 | ); | ||||
95 | |||||
96 | |||||
97 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
98 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9oRy+X25+b7vB03WSnpFTg | ||||
99 | |||||
100 | |||||
101 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
102 | 1; |