| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Biblio.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 29µs | Class::C3::Componentised::BEGIN@1.1036 |
| 1 | 1 | 1 | 11µs | 21µs | Koha::Schema::Result::Biblio::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 87µs | Koha::Schema::Result::Biblio::BEGIN@16 |
| 1 | 1 | 1 | 8µs | 17µs | Koha::Schema::Result::Biblio::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 33µs | # spent 29µs (25+4) within Class::C3::Componentised::BEGIN@1.1036 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.1036
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::Biblio; | ||||
| 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::Biblio | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 31µs | # spent 21µs (11+10) within Koha::Schema::Result::Biblio::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::Biblio::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
| 14 | 2 | 25µs | # spent 17µs (8+8) within Koha::Schema::Result::Biblio::BEGIN@14 which was called:
# once (8µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::Biblio::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 165µs | # spent 87µs (10+78) within Koha::Schema::Result::Biblio::BEGIN@16 which was called:
# once (10µs+78µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 87µs making 1 call to Koha::Schema::Result::Biblio::BEGIN@16
# spent 78µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<biblio> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 395µs | __PACKAGE__->table("biblio"); # spent 395µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 biblionumber | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 frameworkcode | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | default_value: (empty string) | ||||
| 36 | is_nullable: 0 | ||||
| 37 | size: 4 | ||||
| 38 | |||||
| 39 | =head2 author | ||||
| 40 | |||||
| 41 | data_type: 'mediumtext' | ||||
| 42 | is_nullable: 1 | ||||
| 43 | |||||
| 44 | =head2 title | ||||
| 45 | |||||
| 46 | data_type: 'mediumtext' | ||||
| 47 | is_nullable: 1 | ||||
| 48 | |||||
| 49 | =head2 unititle | ||||
| 50 | |||||
| 51 | data_type: 'mediumtext' | ||||
| 52 | is_nullable: 1 | ||||
| 53 | |||||
| 54 | =head2 notes | ||||
| 55 | |||||
| 56 | data_type: 'mediumtext' | ||||
| 57 | is_nullable: 1 | ||||
| 58 | |||||
| 59 | =head2 serial | ||||
| 60 | |||||
| 61 | data_type: 'tinyint' | ||||
| 62 | is_nullable: 1 | ||||
| 63 | |||||
| 64 | =head2 seriestitle | ||||
| 65 | |||||
| 66 | data_type: 'mediumtext' | ||||
| 67 | is_nullable: 1 | ||||
| 68 | |||||
| 69 | =head2 copyrightdate | ||||
| 70 | |||||
| 71 | data_type: 'smallint' | ||||
| 72 | is_nullable: 1 | ||||
| 73 | |||||
| 74 | =head2 timestamp | ||||
| 75 | |||||
| 76 | data_type: 'timestamp' | ||||
| 77 | datetime_undef_if_invalid: 1 | ||||
| 78 | default_value: current_timestamp | ||||
| 79 | is_nullable: 0 | ||||
| 80 | |||||
| 81 | =head2 datecreated | ||||
| 82 | |||||
| 83 | data_type: 'date' | ||||
| 84 | datetime_undef_if_invalid: 1 | ||||
| 85 | is_nullable: 0 | ||||
| 86 | |||||
| 87 | =head2 abstract | ||||
| 88 | |||||
| 89 | data_type: 'mediumtext' | ||||
| 90 | is_nullable: 1 | ||||
| 91 | |||||
| 92 | =cut | ||||
| 93 | |||||
| 94 | 1 | 8.58ms | __PACKAGE__->add_columns( # spent 8.58ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 95 | "biblionumber", | ||||
| 96 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 97 | "frameworkcode", | ||||
| 98 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 }, | ||||
| 99 | "author", | ||||
| 100 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 101 | "title", | ||||
| 102 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 103 | "unititle", | ||||
| 104 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 105 | "notes", | ||||
| 106 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 107 | "serial", | ||||
| 108 | { data_type => "tinyint", is_nullable => 1 }, | ||||
| 109 | "seriestitle", | ||||
| 110 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 111 | "copyrightdate", | ||||
| 112 | { data_type => "smallint", is_nullable => 1 }, | ||||
| 113 | "timestamp", | ||||
| 114 | { | ||||
| 115 | data_type => "timestamp", | ||||
| 116 | datetime_undef_if_invalid => 1, | ||||
| 117 | default_value => \"current_timestamp", | ||||
| 118 | is_nullable => 0, | ||||
| 119 | }, | ||||
| 120 | "datecreated", | ||||
| 121 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 }, | ||||
| 122 | "abstract", | ||||
| 123 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 124 | ); | ||||
| 125 | |||||
| 126 | =head1 PRIMARY KEY | ||||
| 127 | |||||
| 128 | =over 4 | ||||
| 129 | |||||
| 130 | =item * L</biblionumber> | ||||
| 131 | |||||
| 132 | =back | ||||
| 133 | |||||
| 134 | =cut | ||||
| 135 | |||||
| 136 | 1 | 100µs | __PACKAGE__->set_primary_key("biblionumber"); # spent 100µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 137 | |||||
| 138 | =head1 RELATIONS | ||||
| 139 | |||||
| 140 | =head2 aqorders | ||||
| 141 | |||||
| 142 | Type: has_many | ||||
| 143 | |||||
| 144 | Related object: L<Koha::Schema::Result::Aqorder> | ||||
| 145 | |||||
| 146 | =cut | ||||
| 147 | |||||
| 148 | 1 | 374µs | __PACKAGE__->has_many( # spent 374µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 149 | "aqorders", | ||||
| 150 | "Koha::Schema::Result::Aqorder", | ||||
| 151 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 152 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 153 | ); | ||||
| 154 | |||||
| 155 | =head2 biblioimages | ||||
| 156 | |||||
| 157 | Type: has_many | ||||
| 158 | |||||
| 159 | Related object: L<Koha::Schema::Result::Biblioimage> | ||||
| 160 | |||||
| 161 | =cut | ||||
| 162 | |||||
| 163 | 1 | 228µs | __PACKAGE__->has_many( # spent 228µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 164 | "biblioimages", | ||||
| 165 | "Koha::Schema::Result::Biblioimage", | ||||
| 166 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 167 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 168 | ); | ||||
| 169 | |||||
| 170 | =head2 biblioitems | ||||
| 171 | |||||
| 172 | Type: has_many | ||||
| 173 | |||||
| 174 | Related object: L<Koha::Schema::Result::Biblioitem> | ||||
| 175 | |||||
| 176 | =cut | ||||
| 177 | |||||
| 178 | 1 | 237µs | __PACKAGE__->has_many( # spent 237µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 179 | "biblioitems", | ||||
| 180 | "Koha::Schema::Result::Biblioitem", | ||||
| 181 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 182 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 183 | ); | ||||
| 184 | |||||
| 185 | =head2 hold_fill_targets | ||||
| 186 | |||||
| 187 | Type: has_many | ||||
| 188 | |||||
| 189 | Related object: L<Koha::Schema::Result::HoldFillTarget> | ||||
| 190 | |||||
| 191 | =cut | ||||
| 192 | |||||
| 193 | 1 | 259µs | __PACKAGE__->has_many( # spent 259µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 194 | "hold_fill_targets", | ||||
| 195 | "Koha::Schema::Result::HoldFillTarget", | ||||
| 196 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 197 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 198 | ); | ||||
| 199 | |||||
| 200 | =head2 old_reserves | ||||
| 201 | |||||
| 202 | Type: has_many | ||||
| 203 | |||||
| 204 | Related object: L<Koha::Schema::Result::OldReserve> | ||||
| 205 | |||||
| 206 | =cut | ||||
| 207 | |||||
| 208 | 1 | 246µs | __PACKAGE__->has_many( # spent 246µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 209 | "old_reserves", | ||||
| 210 | "Koha::Schema::Result::OldReserve", | ||||
| 211 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 212 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 213 | ); | ||||
| 214 | |||||
| 215 | =head2 ratings | ||||
| 216 | |||||
| 217 | Type: has_many | ||||
| 218 | |||||
| 219 | Related object: L<Koha::Schema::Result::Rating> | ||||
| 220 | |||||
| 221 | =cut | ||||
| 222 | |||||
| 223 | 1 | 230µs | __PACKAGE__->has_many( # spent 230µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 224 | "ratings", | ||||
| 225 | "Koha::Schema::Result::Rating", | ||||
| 226 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 227 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 228 | ); | ||||
| 229 | |||||
| 230 | =head2 reserves | ||||
| 231 | |||||
| 232 | Type: has_many | ||||
| 233 | |||||
| 234 | Related object: L<Koha::Schema::Result::Reserve> | ||||
| 235 | |||||
| 236 | =cut | ||||
| 237 | |||||
| 238 | 1 | 232µs | __PACKAGE__->has_many( # spent 232µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 239 | "reserves", | ||||
| 240 | "Koha::Schema::Result::Reserve", | ||||
| 241 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 242 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 243 | ); | ||||
| 244 | |||||
| 245 | =head2 reviews | ||||
| 246 | |||||
| 247 | Type: has_many | ||||
| 248 | |||||
| 249 | Related object: L<Koha::Schema::Result::Review> | ||||
| 250 | |||||
| 251 | =cut | ||||
| 252 | |||||
| 253 | 1 | 233µs | __PACKAGE__->has_many( # spent 233µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 254 | "reviews", | ||||
| 255 | "Koha::Schema::Result::Review", | ||||
| 256 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 257 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 258 | ); | ||||
| 259 | |||||
| 260 | =head2 tags_all | ||||
| 261 | |||||
| 262 | Type: has_many | ||||
| 263 | |||||
| 264 | Related object: L<Koha::Schema::Result::TagAll> | ||||
| 265 | |||||
| 266 | =cut | ||||
| 267 | |||||
| 268 | 1 | 227µs | __PACKAGE__->has_many( # spent 227µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 269 | "tags_all", | ||||
| 270 | "Koha::Schema::Result::TagAll", | ||||
| 271 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 272 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 273 | ); | ||||
| 274 | |||||
| 275 | =head2 tags_indexes | ||||
| 276 | |||||
| 277 | Type: has_many | ||||
| 278 | |||||
| 279 | Related object: L<Koha::Schema::Result::TagsIndex> | ||||
| 280 | |||||
| 281 | =cut | ||||
| 282 | |||||
| 283 | 1 | 224µs | __PACKAGE__->has_many( # spent 224µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 284 | "tags_indexes", | ||||
| 285 | "Koha::Schema::Result::TagsIndex", | ||||
| 286 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 287 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 288 | ); | ||||
| 289 | |||||
| 290 | =head2 virtualshelfcontents | ||||
| 291 | |||||
| 292 | Type: has_many | ||||
| 293 | |||||
| 294 | Related object: L<Koha::Schema::Result::Virtualshelfcontent> | ||||
| 295 | |||||
| 296 | =cut | ||||
| 297 | |||||
| 298 | 1 | 220µs | __PACKAGE__->has_many( # spent 220µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 299 | "virtualshelfcontents", | ||||
| 300 | "Koha::Schema::Result::Virtualshelfcontent", | ||||
| 301 | { "foreign.biblionumber" => "self.biblionumber" }, | ||||
| 302 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 303 | ); | ||||
| 304 | |||||
| 305 | |||||
| 306 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22 | ||||
| 307 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vh7DAGajJCEzHE7YmAG3jg | ||||
| 308 | |||||
| 309 | 1; |