Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqbasketgroup.pm |
Statements | Executed 14 statements in 543µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 90µs | 94µs | BEGIN@1.2765 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 21µs | BEGIN@13 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 10µs | 87µs | BEGIN@16 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 10µs | 17µs | BEGIN@14 | Koha::Schema::Result::Aqbasketgroup::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 86µs | 2 | 98µs | # spent 94µs (90+4) within Class::C3::Componentised::BEGIN@1.2765 which was called:
# once (90µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 94µs making 1 call to Class::C3::Componentised::BEGIN@1.2765
# 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 | 41µs | 2 | 32µs | # spent 21µs (11+10) within Koha::Schema::Result::Aqbasketgroup::BEGIN@13 which was called:
# once (11µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 39µs | 2 | 25µs | # spent 17µs (10+8) within Koha::Schema::Result::Aqbasketgroup::BEGIN@14 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 285µs | 2 | 163µs | # spent 87µs (10+76) within Koha::Schema::Result::Aqbasketgroup::BEGIN@16 which was called:
# once (10µs+76µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 87µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@16
# spent 76µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<aqbasketgroups> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 200ns | 1 | 318µs | __PACKAGE__->table("aqbasketgroups"); # spent 318µ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 | 28µs | 1 | 7.04ms | __PACKAGE__->add_columns( # spent 7.04ms 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 | 28µs | 1 | 101µs | __PACKAGE__->set_primary_key("id"); # spent 101µ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 | 358µs | __PACKAGE__->has_many( # spent 358µ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 | 11µs | 1 | 338µs | __PACKAGE__->belongs_to( # spent 338µ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 | 16µs | 1; |