Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqcontact.pm |
Statements | Executed 13 statements in 602µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 29µs | 32µs | BEGIN@1.2435 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 131µs | BEGIN@16 | Koha::Schema::Result::Aqcontact::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::Aqcontact::
1 | 1 | 1 | 8µs | 16µs | BEGIN@14 | Koha::Schema::Result::Aqcontact::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 85µs | 2 | 36µs | # spent 32µs (29+4) within Class::C3::Componentised::BEGIN@1.2435 which was called:
# once (29µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2435
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Aqcontact; | ||||
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::Aqcontact | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 27µs | # spent 19µs (10+8) within Koha::Schema::Result::Aqcontact::BEGIN@13 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@13
# spent 8µs making 1 call to strict::import |
14 | 2 | 37µs | 2 | 24µs | # spent 16µs (8+8) within Koha::Schema::Result::Aqcontact::BEGIN@14 which was called:
# once (8µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 346µs | 2 | 251µs | # spent 131µs (11+120) within Koha::Schema::Result::Aqcontact::BEGIN@16 which was called:
# once (11µs+120µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 131µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@16
# spent 120µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<aqcontacts> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 19µs | 1 | 342µs | __PACKAGE__->table("aqcontacts"); # spent 342µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 name | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_nullable: 1 | ||||
36 | size: 100 | ||||
37 | |||||
38 | =head2 position | ||||
39 | |||||
40 | data_type: 'varchar' | ||||
41 | is_nullable: 1 | ||||
42 | size: 100 | ||||
43 | |||||
44 | =head2 phone | ||||
45 | |||||
46 | data_type: 'varchar' | ||||
47 | is_nullable: 1 | ||||
48 | size: 100 | ||||
49 | |||||
50 | =head2 altphone | ||||
51 | |||||
52 | data_type: 'varchar' | ||||
53 | is_nullable: 1 | ||||
54 | size: 100 | ||||
55 | |||||
56 | =head2 fax | ||||
57 | |||||
58 | data_type: 'varchar' | ||||
59 | is_nullable: 1 | ||||
60 | size: 100 | ||||
61 | |||||
62 | =head2 email | ||||
63 | |||||
64 | data_type: 'varchar' | ||||
65 | is_nullable: 1 | ||||
66 | size: 100 | ||||
67 | |||||
68 | =head2 notes | ||||
69 | |||||
70 | data_type: 'mediumtext' | ||||
71 | is_nullable: 1 | ||||
72 | |||||
73 | =head2 claimacquisition | ||||
74 | |||||
75 | data_type: 'tinyint' | ||||
76 | default_value: 0 | ||||
77 | is_nullable: 0 | ||||
78 | |||||
79 | =head2 claimissues | ||||
80 | |||||
81 | data_type: 'tinyint' | ||||
82 | default_value: 0 | ||||
83 | is_nullable: 0 | ||||
84 | |||||
85 | =head2 acqprimary | ||||
86 | |||||
87 | data_type: 'tinyint' | ||||
88 | default_value: 0 | ||||
89 | is_nullable: 0 | ||||
90 | |||||
91 | =head2 serialsprimary | ||||
92 | |||||
93 | data_type: 'tinyint' | ||||
94 | default_value: 0 | ||||
95 | is_nullable: 0 | ||||
96 | |||||
97 | =head2 booksellerid | ||||
98 | |||||
99 | data_type: 'integer' | ||||
100 | is_foreign_key: 1 | ||||
101 | is_nullable: 0 | ||||
102 | |||||
103 | =cut | ||||
104 | |||||
105 | 1 | 30µs | 1 | 4.86ms | __PACKAGE__->add_columns( # spent 4.86ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
106 | "id", | ||||
107 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
108 | "name", | ||||
109 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
110 | "position", | ||||
111 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
112 | "phone", | ||||
113 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
114 | "altphone", | ||||
115 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
116 | "fax", | ||||
117 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
118 | "email", | ||||
119 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
120 | "notes", | ||||
121 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
122 | "claimacquisition", | ||||
123 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
124 | "claimissues", | ||||
125 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
126 | "acqprimary", | ||||
127 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
128 | "serialsprimary", | ||||
129 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
130 | "booksellerid", | ||||
131 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
132 | ); | ||||
133 | |||||
134 | =head1 PRIMARY KEY | ||||
135 | |||||
136 | =over 4 | ||||
137 | |||||
138 | =item * L</id> | ||||
139 | |||||
140 | =back | ||||
141 | |||||
142 | =cut | ||||
143 | |||||
144 | 1 | 20µs | 1 | 90µs | __PACKAGE__->set_primary_key("id"); # spent 90µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
145 | |||||
146 | =head1 RELATIONS | ||||
147 | |||||
148 | =head2 booksellerid | ||||
149 | |||||
150 | Type: belongs_to | ||||
151 | |||||
152 | Related object: L<Koha::Schema::Result::Aqbookseller> | ||||
153 | |||||
154 | =cut | ||||
155 | |||||
156 | 1 | 10µs | 1 | 390µs | __PACKAGE__->belongs_to( # spent 390µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
157 | "booksellerid", | ||||
158 | "Koha::Schema::Result::Aqbookseller", | ||||
159 | { id => "booksellerid" }, | ||||
160 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
161 | ); | ||||
162 | |||||
163 | |||||
164 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-26 11:53:50 | ||||
165 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sIT7PzDxqInviUSe7wuzow | ||||
166 | |||||
167 | |||||
168 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
169 | 1 | 16µs | 1; |