← 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/Aqbasket.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11138µs42µsClass::C3::Componentised::::BEGIN@1.1399 Class::C3::Componentised::BEGIN@1.1399
11111µs23µsKoha::Schema::Result::Aqbasket::::BEGIN@13Koha::Schema::Result::Aqbasket::BEGIN@13
11110µs90µsKoha::Schema::Result::Aqbasket::::BEGIN@16Koha::Schema::Result::Aqbasket::BEGIN@16
1119µs17µsKoha::Schema::Result::Aqbasket::::BEGIN@14Koha::Schema::Result::Aqbasket::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1246µs
# spent 42µs (38+4) within Class::C3::Componentised::BEGIN@1.1399 which was called: # once (38µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 42µs making 1 call to Class::C3::Componentised::BEGIN@1.1399 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::Aqbasket;
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::Aqbasket
10
11=cut
12
13235µs
# spent 23µs (11+12) within Koha::Schema::Result::Aqbasket::BEGIN@13 which was called: # once (11µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 23µs making 1 call to Koha::Schema::Result::Aqbasket::BEGIN@13 # spent 12µs making 1 call to strict::import
14226µs
# spent 17µs (9+8) within Koha::Schema::Result::Aqbasket::BEGIN@14 which was called: # once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 17µs making 1 call to Koha::Schema::Result::Aqbasket::BEGIN@14 # spent 8µs making 1 call to warnings::import
15
162169µs
# spent 90µs (10+79) within Koha::Schema::Result::Aqbasket::BEGIN@16 which was called: # once (10µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 90µs making 1 call to Koha::Schema::Result::Aqbasket::BEGIN@16 # spent 79µs making 1 call to base::import
17
18=head1 TABLE: C<aqbasket>
19
20=cut
21
221263µs__PACKAGE__->table("aqbasket");
# spent 263µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 basketno
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 basketname
33
34 data_type: 'varchar'
35 is_nullable: 1
36 size: 50
37
38=head2 note
39
40 data_type: 'mediumtext'
41 is_nullable: 1
42
43=head2 booksellernote
44
45 data_type: 'mediumtext'
46 is_nullable: 1
47
48=head2 contractnumber
49
50 data_type: 'integer'
51 is_foreign_key: 1
52 is_nullable: 1
53
54=head2 creationdate
55
56 data_type: 'date'
57 datetime_undef_if_invalid: 1
58 is_nullable: 1
59
60=head2 closedate
61
62 data_type: 'date'
63 datetime_undef_if_invalid: 1
64 is_nullable: 1
65
66=head2 booksellerid
67
68 data_type: 'integer'
69 default_value: 1
70 is_foreign_key: 1
71 is_nullable: 0
72
73=head2 authorisedby
74
75 data_type: 'varchar'
76 is_nullable: 1
77 size: 10
78
79=head2 booksellerinvoicenumber
80
81 data_type: 'mediumtext'
82 is_nullable: 1
83
84=head2 basketgroupid
85
86 data_type: 'integer'
87 is_foreign_key: 1
88 is_nullable: 1
89
90=head2 deliveryplace
91
92 data_type: 'varchar'
93 is_nullable: 1
94 size: 10
95
96=head2 billingplace
97
98 data_type: 'varchar'
99 is_nullable: 1
100 size: 10
101
102=head2 branch
103
104 data_type: 'varchar'
105 is_foreign_key: 1
106 is_nullable: 1
107 size: 10
108
109=cut
110
11114.85ms__PACKAGE__->add_columns(
# spent 4.85ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
112 "basketno",
113 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
114 "basketname",
115 { data_type => "varchar", is_nullable => 1, size => 50 },
116 "note",
117 { data_type => "mediumtext", is_nullable => 1 },
118 "booksellernote",
119 { data_type => "mediumtext", is_nullable => 1 },
120 "contractnumber",
121 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
122 "creationdate",
123 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
124 "closedate",
125 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
126 "booksellerid",
127 {
128 data_type => "integer",
129 default_value => 1,
130 is_foreign_key => 1,
131 is_nullable => 0,
132 },
133 "authorisedby",
134 { data_type => "varchar", is_nullable => 1, size => 10 },
135 "booksellerinvoicenumber",
136 { data_type => "mediumtext", is_nullable => 1 },
137 "basketgroupid",
138 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
139 "deliveryplace",
140 { data_type => "varchar", is_nullable => 1, size => 10 },
141 "billingplace",
142 { data_type => "varchar", is_nullable => 1, size => 10 },
143 "branch",
144 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
145);
146
147=head1 PRIMARY KEY
148
149=over 4
150
151=item * L</basketno>
152
153=back
154
155=cut
156
157196µs__PACKAGE__->set_primary_key("basketno");
# spent 96µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
158
159=head1 RELATIONS
160
161=head2 aqbasketusers
162
163Type: has_many
164
165Related object: L<Koha::Schema::Result::Aqbasketuser>
166
167=cut
168
1691364µs__PACKAGE__->has_many(
# spent 364µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
170 "aqbasketusers",
171 "Koha::Schema::Result::Aqbasketuser",
172 { "foreign.basketno" => "self.basketno" },
173 { cascade_copy => 0, cascade_delete => 0 },
174);
175
176=head2 aqorders
177
178Type: has_many
179
180Related object: L<Koha::Schema::Result::Aqorder>
181
182=cut
183
1841221µs__PACKAGE__->has_many(
# spent 221µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
185 "aqorders",
186 "Koha::Schema::Result::Aqorder",
187 { "foreign.basketno" => "self.basketno" },
188 { cascade_copy => 0, cascade_delete => 0 },
189);
190
191=head2 basketgroupid
192
193Type: belongs_to
194
195Related object: L<Koha::Schema::Result::Aqbasketgroup>
196
197=cut
198
1991877µs__PACKAGE__->belongs_to(
# spent 877µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
200 "basketgroupid",
201 "Koha::Schema::Result::Aqbasketgroup",
202 { id => "basketgroupid" },
203 {
204 is_deferrable => 1,
205 join_type => "LEFT",
206 on_delete => "RESTRICT",
207 on_update => "CASCADE",
208 },
209);
210
211=head2 booksellerid
212
213Type: belongs_to
214
215Related object: L<Koha::Schema::Result::Aqbookseller>
216
217=cut
218
2191341µs__PACKAGE__->belongs_to(
# spent 341µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
220 "booksellerid",
221 "Koha::Schema::Result::Aqbookseller",
222 { id => "booksellerid" },
223 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
224);
225
226=head2 branch
227
228Type: belongs_to
229
230Related object: L<Koha::Schema::Result::Branch>
231
232=cut
233
2341614µs__PACKAGE__->belongs_to(
# spent 614µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
235 "branch",
236 "Koha::Schema::Result::Branch",
237 { branchcode => "branch" },
238 {
239 is_deferrable => 1,
240 join_type => "LEFT",
241 on_delete => "SET NULL",
242 on_update => "CASCADE",
243 },
244);
245
246=head2 contractnumber
247
248Type: belongs_to
249
250Related object: L<Koha::Schema::Result::Aqcontract>
251
252=cut
253
2541733µs__PACKAGE__->belongs_to(
# spent 733µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
255 "contractnumber",
256 "Koha::Schema::Result::Aqcontract",
257 { contractnumber => "contractnumber" },
258 {
259 is_deferrable => 1,
260 join_type => "LEFT",
261 on_delete => "RESTRICT",
262 on_update => "RESTRICT",
263 },
264);
265
266=head2 borrowernumbers
267
268Type: many_to_many
269
270Composing rels: L</aqbasketusers> -> borrowernumber
271
272=cut
273
2741143µs__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
# spent 143µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many
275
276
277# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
278# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pT+YFf9nfD/dmBuE4RNCFw
279
280
281# You can replace this text with custom content, and it will be preserved on regeneration
2821;