| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Serial.pm |
| Statements | Executed 13 statements in 547µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 29µs | Class::C3::Componentised::BEGIN@1.1608 |
| 1 | 1 | 1 | 11µs | 84µs | Koha::Schema::Result::Serial::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::Serial::BEGIN@13 |
| 1 | 1 | 1 | 8µs | 14µs | Koha::Schema::Result::Serial::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 68µs | 2 | 32µs | # spent 29µs (25+4) within Class::C3::Componentised::BEGIN@1.1608 which was called:
# once (25µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.1608
# 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 | 35µs | 2 | 24µs | # spent 16µs (9+7) within Koha::Schema::Result::Serial::BEGIN@13 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 16µs making 1 call to Koha::Schema::Result::Serial::BEGIN@13
# spent 7µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 20µs | # spent 14µs (8+6) within Koha::Schema::Result::Serial::BEGIN@14 which was called:
# once (8µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 14µs making 1 call to Koha::Schema::Result::Serial::BEGIN@14
# spent 6µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 295µs | 2 | 156µs | # spent 84µs (11+72) within Koha::Schema::Result::Serial::BEGIN@16 which was called:
# once (11µs+72µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 84µs making 1 call to Koha::Schema::Result::Serial::BEGIN@16
# spent 72µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<serial> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 464µs | __PACKAGE__->table("serial"); # spent 464µ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 | 13.5ms | __PACKAGE__->add_columns( # spent 13.5ms 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 | 17µs | 1 | 91µs | __PACKAGE__->set_primary_key("serialid"); # spent 91µ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 | 10µs | 1 | 339µs | __PACKAGE__->has_many( # spent 339µ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 | 23µs | 1; |