Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqbasketgroup.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 24µs | 27µs | BEGIN@1.2457 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 79µs | BEGIN@16 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 9µs | 15µs | BEGIN@14 | Koha::Schema::Result::Aqbasketgroup::
1 | 1 | 1 | 8µs | 16µs | BEGIN@13 | Koha::Schema::Result::Aqbasketgroup::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 31µs | # spent 27µs (24+3) within Class::C3::Componentised::BEGIN@1.2457 which was called:
# once (24µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 27µs making 1 call to Class::C3::Componentised::BEGIN@1.2457
# spent 3µ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 | 24µs | # spent 16µs (8+8) within Koha::Schema::Result::Aqbasketgroup::BEGIN@13 which was called:
# once (8µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 16µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@13
# spent 8µs making 1 call to strict::import | ||
14 | 2 | 21µs | # spent 15µs (9+6) within Koha::Schema::Result::Aqbasketgroup::BEGIN@14 which was called:
# once (9µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::Aqbasketgroup::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 148µs | # spent 79µs (10+69) within Koha::Schema::Result::Aqbasketgroup::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::Aqbasketgroup::BEGIN@16
# spent 69µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<aqbasketgroups> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 297µs | __PACKAGE__->table("aqbasketgroups"); # spent 297µ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 | 7.32ms | __PACKAGE__->add_columns( # spent 7.32ms 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 | 91µs | __PACKAGE__->set_primary_key("id"); # spent 91µ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 | 372µs | __PACKAGE__->has_many( # spent 372µ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 | 318µs | __PACKAGE__->belongs_to( # spent 318µ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; |