Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqbasketgroup.pm |
Statements | Executed 14 statements in 527µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 88µs | 92µs | BEGIN@1.2108 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 82µs | BEGIN@16 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 9µs | 19µs | BEGIN@13 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 8µs | 16µs | BEGIN@14 | Koha::Schema::Result::Aqbasketgroup::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 78µs | 2 | 95µs | # spent 92µs (88+4) within Class::C3::Componentised::BEGIN@1.2108 which was called:
# once (88µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 92µs making 1 call to Class::C3::Componentised::BEGIN@1.2108
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Aqbasketgroup; | ||||
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::Aqbasketgroup | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 29µs | # spent 19µs (9+10) within Koha::Schema::Result::Aqbasketgroup::BEGIN@13 which was called:
# once (9µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 36µs | 2 | 24µs | # spent 16µs (8+8) within Koha::Schema::Result::Aqbasketgroup::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::Aqbasketgroup::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 258µs | 2 | 155µs | # spent 82µs (10+72) within Koha::Schema::Result::Aqbasketgroup::BEGIN@16 which was called:
# once (10µs+72µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 82µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@16
# spent 72µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<aqbasketgroups> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 21µs | 1 | 364µs | __PACKAGE__->table("aqbasketgroups"); # spent 364µ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: 50 | ||||
37 | |||||
38 | =head2 closed | ||||
39 | |||||
40 | data_type: 'tinyint' | ||||
41 | is_nullable: 1 | ||||
42 | |||||
43 | =head2 booksellerid | ||||
44 | |||||
45 | data_type: 'integer' | ||||
46 | is_foreign_key: 1 | ||||
47 | is_nullable: 0 | ||||
48 | |||||
49 | =head2 deliveryplace | ||||
50 | |||||
51 | data_type: 'varchar' | ||||
52 | is_nullable: 1 | ||||
53 | size: 10 | ||||
54 | |||||
55 | =head2 freedeliveryplace | ||||
56 | |||||
57 | data_type: 'text' | ||||
58 | is_nullable: 1 | ||||
59 | |||||
60 | =head2 deliverycomment | ||||
61 | |||||
62 | data_type: 'varchar' | ||||
63 | is_nullable: 1 | ||||
64 | size: 255 | ||||
65 | |||||
66 | =head2 billingplace | ||||
67 | |||||
68 | data_type: 'varchar' | ||||
69 | is_nullable: 1 | ||||
70 | size: 10 | ||||
71 | |||||
72 | =cut | ||||
73 | |||||
74 | 1 | 37µs | 1 | 2.57ms | __PACKAGE__->add_columns( # spent 2.57ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
75 | "id", | ||||
76 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
77 | "name", | ||||
78 | { data_type => "varchar", is_nullable => 1, size => 50 }, | ||||
79 | "closed", | ||||
80 | { data_type => "tinyint", is_nullable => 1 }, | ||||
81 | "booksellerid", | ||||
82 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
83 | "deliveryplace", | ||||
84 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
85 | "freedeliveryplace", | ||||
86 | { data_type => "text", is_nullable => 1 }, | ||||
87 | "deliverycomment", | ||||
88 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
89 | "billingplace", | ||||
90 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
91 | ); | ||||
92 | |||||
93 | =head1 PRIMARY KEY | ||||
94 | |||||
95 | =over 4 | ||||
96 | |||||
97 | =item * L</id> | ||||
98 | |||||
99 | =back | ||||
100 | |||||
101 | =cut | ||||
102 | |||||
103 | 1 | 26µs | 1 | 116µs | __PACKAGE__->set_primary_key("id"); # spent 116µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
104 | |||||
105 | =head1 RELATIONS | ||||
106 | |||||
107 | =head2 aqbaskets | ||||
108 | |||||
109 | Type: has_many | ||||
110 | |||||
111 | Related object: L<Koha::Schema::Result::Aqbasket> | ||||
112 | |||||
113 | =cut | ||||
114 | |||||
115 | 1 | 10µs | 1 | 348µs | __PACKAGE__->has_many( # spent 348µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
116 | "aqbaskets", | ||||
117 | "Koha::Schema::Result::Aqbasket", | ||||
118 | { "foreign.basketgroupid" => "self.id" }, | ||||
119 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
120 | ); | ||||
121 | |||||
122 | =head2 booksellerid | ||||
123 | |||||
124 | Type: belongs_to | ||||
125 | |||||
126 | Related object: L<Koha::Schema::Result::Aqbookseller> | ||||
127 | |||||
128 | =cut | ||||
129 | |||||
130 | 1 | 10µs | 1 | 300µs | __PACKAGE__->belongs_to( # spent 300µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
131 | "booksellerid", | ||||
132 | "Koha::Schema::Result::Aqbookseller", | ||||
133 | { id => "booksellerid" }, | ||||
134 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
135 | ); | ||||
136 | |||||
137 | |||||
138 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
139 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tT40YZgK7gOfNG3DVFTHiA | ||||
140 | |||||
141 | |||||
142 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
143 | 1 | 12µs | 1; |