Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Serial.pm |
Statements | Executed 13 statements in 632µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 33µs | 37µs | BEGIN@1.160 | Class::C3::Componentised::
1 | 1 | 1 | 17µs | 100µs | BEGIN@16 | Koha::Schema::Result::Serial::
1 | 1 | 1 | 10µs | 22µs | BEGIN@13 | Koha::Schema::Result::Serial::
1 | 1 | 1 | 8µs | 18µs | BEGIN@14 | Koha::Schema::Result::Serial::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 76µs | 2 | 41µs | # spent 37µs (33+4) within Class::C3::Componentised::BEGIN@1.160 which was called:
# once (33µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 37µs making 1 call to Class::C3::Componentised::BEGIN@1.160
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Serial; | ||||
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::Serial | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 41µs | 2 | 34µs | # spent 22µs (10+12) within Koha::Schema::Result::Serial::BEGIN@13 which was called:
# once (10µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::Serial::BEGIN@13
# spent 12µs making 1 call to strict::import |
14 | 2 | 41µs | 2 | 28µs | # spent 18µs (8+10) within Koha::Schema::Result::Serial::BEGIN@14 which was called:
# once (8µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::Serial::BEGIN@14
# spent 10µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 370µs | 2 | 183µs | # spent 100µs (17+83) within Koha::Schema::Result::Serial::BEGIN@16 which was called:
# once (17µs+83µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 100µs making 1 call to Koha::Schema::Result::Serial::BEGIN@16
# spent 83µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<serial> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 24µs | 1 | 354µs | __PACKAGE__->table("serial"); # spent 354µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 serialid | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 biblionumber | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: (empty string) | ||||
36 | is_nullable: 0 | ||||
37 | size: 100 | ||||
38 | |||||
39 | =head2 subscriptionid | ||||
40 | |||||
41 | data_type: 'varchar' | ||||
42 | default_value: (empty string) | ||||
43 | is_nullable: 0 | ||||
44 | size: 100 | ||||
45 | |||||
46 | =head2 serialseq | ||||
47 | |||||
48 | data_type: 'varchar' | ||||
49 | default_value: (empty string) | ||||
50 | is_nullable: 0 | ||||
51 | size: 100 | ||||
52 | |||||
53 | =head2 serialseq_x | ||||
54 | |||||
55 | data_type: 'varchar' | ||||
56 | is_nullable: 1 | ||||
57 | size: 100 | ||||
58 | |||||
59 | =head2 serialseq_y | ||||
60 | |||||
61 | data_type: 'varchar' | ||||
62 | is_nullable: 1 | ||||
63 | size: 100 | ||||
64 | |||||
65 | =head2 serialseq_z | ||||
66 | |||||
67 | data_type: 'varchar' | ||||
68 | is_nullable: 1 | ||||
69 | size: 100 | ||||
70 | |||||
71 | =head2 status | ||||
72 | |||||
73 | data_type: 'tinyint' | ||||
74 | default_value: 0 | ||||
75 | is_nullable: 0 | ||||
76 | |||||
77 | =head2 planneddate | ||||
78 | |||||
79 | data_type: 'date' | ||||
80 | datetime_undef_if_invalid: 1 | ||||
81 | is_nullable: 1 | ||||
82 | |||||
83 | =head2 notes | ||||
84 | |||||
85 | data_type: 'text' | ||||
86 | is_nullable: 1 | ||||
87 | |||||
88 | =head2 publisheddate | ||||
89 | |||||
90 | data_type: 'date' | ||||
91 | datetime_undef_if_invalid: 1 | ||||
92 | is_nullable: 1 | ||||
93 | |||||
94 | =head2 publisheddatetext | ||||
95 | |||||
96 | data_type: 'varchar' | ||||
97 | is_nullable: 1 | ||||
98 | size: 100 | ||||
99 | |||||
100 | =head2 claimdate | ||||
101 | |||||
102 | data_type: 'date' | ||||
103 | datetime_undef_if_invalid: 1 | ||||
104 | is_nullable: 1 | ||||
105 | |||||
106 | =head2 claims_count | ||||
107 | |||||
108 | data_type: 'integer' | ||||
109 | default_value: 0 | ||||
110 | is_nullable: 1 | ||||
111 | |||||
112 | =head2 routingnotes | ||||
113 | |||||
114 | data_type: 'text' | ||||
115 | is_nullable: 1 | ||||
116 | |||||
117 | =cut | ||||
118 | |||||
119 | 1 | 36µs | 1 | 5.80ms | __PACKAGE__->add_columns( # spent 5.80ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
120 | "serialid", | ||||
121 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
122 | "biblionumber", | ||||
123 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, | ||||
124 | "subscriptionid", | ||||
125 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, | ||||
126 | "serialseq", | ||||
127 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, | ||||
128 | "serialseq_x", | ||||
129 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
130 | "serialseq_y", | ||||
131 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
132 | "serialseq_z", | ||||
133 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
134 | "status", | ||||
135 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
136 | "planneddate", | ||||
137 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
138 | "notes", | ||||
139 | { data_type => "text", is_nullable => 1 }, | ||||
140 | "publisheddate", | ||||
141 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
142 | "publisheddatetext", | ||||
143 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
144 | "claimdate", | ||||
145 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
146 | "claims_count", | ||||
147 | { data_type => "integer", default_value => 0, is_nullable => 1 }, | ||||
148 | "routingnotes", | ||||
149 | { data_type => "text", is_nullable => 1 }, | ||||
150 | ); | ||||
151 | |||||
152 | =head1 PRIMARY KEY | ||||
153 | |||||
154 | =over 4 | ||||
155 | |||||
156 | =item * L</serialid> | ||||
157 | |||||
158 | =back | ||||
159 | |||||
160 | =cut | ||||
161 | |||||
162 | 1 | 19µs | 1 | 89µs | __PACKAGE__->set_primary_key("serialid"); # spent 89µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
163 | |||||
164 | =head1 RELATIONS | ||||
165 | |||||
166 | =head2 serialitems | ||||
167 | |||||
168 | Type: has_many | ||||
169 | |||||
170 | Related object: L<Koha::Schema::Result::Serialitem> | ||||
171 | |||||
172 | =cut | ||||
173 | |||||
174 | 1 | 9µs | 1 | 347µs | __PACKAGE__->has_many( # spent 347µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
175 | "serialitems", | ||||
176 | "Koha::Schema::Result::Serialitem", | ||||
177 | { "foreign.serialid" => "self.serialid" }, | ||||
178 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
179 | ); | ||||
180 | |||||
181 | |||||
182 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:19:30 | ||||
183 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZwOGHLaGRVFow9J/DeKSGg | ||||
184 | |||||
185 | |||||
186 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
187 | 1 | 17µs | 1; |