| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Branch.pm |
| Statements | Executed 34 statements in 1.22ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 41µs | 47µs | Class::C3::Componentised::BEGIN@1.2268 |
| 1 | 1 | 1 | 12µs | 22µs | Koha::Schema::Result::Branch::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 18µs | Koha::Schema::Result::Branch::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 91µs | Koha::Schema::Result::Branch::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 98µs | 2 | 52µs | # spent 47µs (41+5) within Class::C3::Componentised::BEGIN@1.2268 which was called:
# once (41µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 47µs making 1 call to Class::C3::Componentised::BEGIN@1.2268
# spent 5µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::Branch; | ||||
| 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::Branch | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 54µs | 2 | 33µs | # spent 22µs (12+10) within Koha::Schema::Result::Branch::BEGIN@13 which was called:
# once (12µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::Branch::BEGIN@13
# spent 10µs making 1 call to strict::import |
| 14 | 2 | 50µs | 2 | 26µs | # spent 18µs (10+8) within Koha::Schema::Result::Branch::BEGIN@14 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::Branch::BEGIN@14
# spent 8µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 784µs | 2 | 171µs | # spent 91µs (10+80) within Koha::Schema::Result::Branch::BEGIN@16 which was called:
# once (10µs+80µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 91µs making 1 call to Koha::Schema::Result::Branch::BEGIN@16
# spent 80µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<branches> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 25µs | 1 | 369µs | __PACKAGE__->table("branches"); # spent 369µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 branchcode | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | default_value: (empty string) | ||||
| 30 | is_nullable: 0 | ||||
| 31 | size: 10 | ||||
| 32 | |||||
| 33 | =head2 branchname | ||||
| 34 | |||||
| 35 | data_type: 'mediumtext' | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =head2 branchaddress1 | ||||
| 39 | |||||
| 40 | data_type: 'mediumtext' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | |||||
| 43 | =head2 branchaddress2 | ||||
| 44 | |||||
| 45 | data_type: 'mediumtext' | ||||
| 46 | is_nullable: 1 | ||||
| 47 | |||||
| 48 | =head2 branchaddress3 | ||||
| 49 | |||||
| 50 | data_type: 'mediumtext' | ||||
| 51 | is_nullable: 1 | ||||
| 52 | |||||
| 53 | =head2 branchzip | ||||
| 54 | |||||
| 55 | data_type: 'varchar' | ||||
| 56 | is_nullable: 1 | ||||
| 57 | size: 25 | ||||
| 58 | |||||
| 59 | =head2 branchcity | ||||
| 60 | |||||
| 61 | data_type: 'mediumtext' | ||||
| 62 | is_nullable: 1 | ||||
| 63 | |||||
| 64 | =head2 branchstate | ||||
| 65 | |||||
| 66 | data_type: 'mediumtext' | ||||
| 67 | is_nullable: 1 | ||||
| 68 | |||||
| 69 | =head2 branchcountry | ||||
| 70 | |||||
| 71 | data_type: 'text' | ||||
| 72 | is_nullable: 1 | ||||
| 73 | |||||
| 74 | =head2 branchphone | ||||
| 75 | |||||
| 76 | data_type: 'mediumtext' | ||||
| 77 | is_nullable: 1 | ||||
| 78 | |||||
| 79 | =head2 branchfax | ||||
| 80 | |||||
| 81 | data_type: 'mediumtext' | ||||
| 82 | is_nullable: 1 | ||||
| 83 | |||||
| 84 | =head2 branchemail | ||||
| 85 | |||||
| 86 | data_type: 'mediumtext' | ||||
| 87 | is_nullable: 1 | ||||
| 88 | |||||
| 89 | =head2 branchreplyto | ||||
| 90 | |||||
| 91 | data_type: 'mediumtext' | ||||
| 92 | is_nullable: 1 | ||||
| 93 | |||||
| 94 | =head2 branchreturnpath | ||||
| 95 | |||||
| 96 | data_type: 'mediumtext' | ||||
| 97 | is_nullable: 1 | ||||
| 98 | |||||
| 99 | =head2 branchurl | ||||
| 100 | |||||
| 101 | data_type: 'mediumtext' | ||||
| 102 | is_nullable: 1 | ||||
| 103 | |||||
| 104 | =head2 issuing | ||||
| 105 | |||||
| 106 | data_type: 'tinyint' | ||||
| 107 | is_nullable: 1 | ||||
| 108 | |||||
| 109 | =head2 branchip | ||||
| 110 | |||||
| 111 | data_type: 'varchar' | ||||
| 112 | is_nullable: 1 | ||||
| 113 | size: 15 | ||||
| 114 | |||||
| 115 | =head2 branchprinter | ||||
| 116 | |||||
| 117 | data_type: 'varchar' | ||||
| 118 | is_nullable: 1 | ||||
| 119 | size: 100 | ||||
| 120 | |||||
| 121 | =head2 branchnotes | ||||
| 122 | |||||
| 123 | data_type: 'mediumtext' | ||||
| 124 | is_nullable: 1 | ||||
| 125 | |||||
| 126 | =head2 opac_info | ||||
| 127 | |||||
| 128 | data_type: 'text' | ||||
| 129 | is_nullable: 1 | ||||
| 130 | |||||
| 131 | =cut | ||||
| 132 | |||||
| 133 | 1 | 36µs | 1 | 13.9ms | __PACKAGE__->add_columns( # spent 13.9ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 134 | "branchcode", | ||||
| 135 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
| 136 | "branchname", | ||||
| 137 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
| 138 | "branchaddress1", | ||||
| 139 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 140 | "branchaddress2", | ||||
| 141 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 142 | "branchaddress3", | ||||
| 143 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 144 | "branchzip", | ||||
| 145 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
| 146 | "branchcity", | ||||
| 147 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 148 | "branchstate", | ||||
| 149 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 150 | "branchcountry", | ||||
| 151 | { data_type => "text", is_nullable => 1 }, | ||||
| 152 | "branchphone", | ||||
| 153 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 154 | "branchfax", | ||||
| 155 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 156 | "branchemail", | ||||
| 157 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 158 | "branchreplyto", | ||||
| 159 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 160 | "branchreturnpath", | ||||
| 161 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 162 | "branchurl", | ||||
| 163 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 164 | "issuing", | ||||
| 165 | { data_type => "tinyint", is_nullable => 1 }, | ||||
| 166 | "branchip", | ||||
| 167 | { data_type => "varchar", is_nullable => 1, size => 15 }, | ||||
| 168 | "branchprinter", | ||||
| 169 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 170 | "branchnotes", | ||||
| 171 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 172 | "opac_info", | ||||
| 173 | { data_type => "text", is_nullable => 1 }, | ||||
| 174 | ); | ||||
| 175 | |||||
| 176 | =head1 PRIMARY KEY | ||||
| 177 | |||||
| 178 | =over 4 | ||||
| 179 | |||||
| 180 | =item * L</branchcode> | ||||
| 181 | |||||
| 182 | =back | ||||
| 183 | |||||
| 184 | =cut | ||||
| 185 | |||||
| 186 | 1 | 21µs | 1 | 96µs | __PACKAGE__->set_primary_key("branchcode"); # spent 96µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 187 | |||||
| 188 | =head1 RELATIONS | ||||
| 189 | |||||
| 190 | =head2 aqbaskets | ||||
| 191 | |||||
| 192 | Type: has_many | ||||
| 193 | |||||
| 194 | Related object: L<Koha::Schema::Result::Aqbasket> | ||||
| 195 | |||||
| 196 | =cut | ||||
| 197 | |||||
| 198 | 1 | 10µs | 1 | 373µs | __PACKAGE__->has_many( # spent 373µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 199 | "aqbaskets", | ||||
| 200 | "Koha::Schema::Result::Aqbasket", | ||||
| 201 | { "foreign.branch" => "self.branchcode" }, | ||||
| 202 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 203 | ); | ||||
| 204 | |||||
| 205 | =head2 authorised_values_branches | ||||
| 206 | |||||
| 207 | Type: has_many | ||||
| 208 | |||||
| 209 | Related object: L<Koha::Schema::Result::AuthorisedValuesBranch> | ||||
| 210 | |||||
| 211 | =cut | ||||
| 212 | |||||
| 213 | 1 | 5µs | 1 | 276µs | __PACKAGE__->has_many( # spent 276µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 214 | "authorised_values_branches", | ||||
| 215 | "Koha::Schema::Result::AuthorisedValuesBranch", | ||||
| 216 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 217 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 218 | ); | ||||
| 219 | |||||
| 220 | =head2 borrower_attribute_types_branches | ||||
| 221 | |||||
| 222 | Type: has_many | ||||
| 223 | |||||
| 224 | Related object: L<Koha::Schema::Result::BorrowerAttributeTypesBranch> | ||||
| 225 | |||||
| 226 | =cut | ||||
| 227 | |||||
| 228 | 1 | 5µs | 1 | 246µs | __PACKAGE__->has_many( # spent 246µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 229 | "borrower_attribute_types_branches", | ||||
| 230 | "Koha::Schema::Result::BorrowerAttributeTypesBranch", | ||||
| 231 | { "foreign.b_branchcode" => "self.branchcode" }, | ||||
| 232 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 233 | ); | ||||
| 234 | |||||
| 235 | =head2 borrowers | ||||
| 236 | |||||
| 237 | Type: has_many | ||||
| 238 | |||||
| 239 | Related object: L<Koha::Schema::Result::Borrower> | ||||
| 240 | |||||
| 241 | =cut | ||||
| 242 | |||||
| 243 | 1 | 6µs | 1 | 394µs | __PACKAGE__->has_many( # spent 394µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 244 | "borrowers", | ||||
| 245 | "Koha::Schema::Result::Borrower", | ||||
| 246 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 247 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 248 | ); | ||||
| 249 | |||||
| 250 | =head2 branch_borrower_circ_rules | ||||
| 251 | |||||
| 252 | Type: has_many | ||||
| 253 | |||||
| 254 | Related object: L<Koha::Schema::Result::BranchBorrowerCircRule> | ||||
| 255 | |||||
| 256 | =cut | ||||
| 257 | |||||
| 258 | 1 | 6µs | 1 | 342µs | __PACKAGE__->has_many( # spent 342µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 259 | "branch_borrower_circ_rules", | ||||
| 260 | "Koha::Schema::Result::BranchBorrowerCircRule", | ||||
| 261 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 262 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 263 | ); | ||||
| 264 | |||||
| 265 | =head2 branch_item_rules | ||||
| 266 | |||||
| 267 | Type: has_many | ||||
| 268 | |||||
| 269 | Related object: L<Koha::Schema::Result::BranchItemRule> | ||||
| 270 | |||||
| 271 | =cut | ||||
| 272 | |||||
| 273 | 1 | 4µs | 1 | 265µs | __PACKAGE__->has_many( # spent 265µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 274 | "branch_item_rules", | ||||
| 275 | "Koha::Schema::Result::BranchItemRule", | ||||
| 276 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 277 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 278 | ); | ||||
| 279 | |||||
| 280 | =head2 branchrelations | ||||
| 281 | |||||
| 282 | Type: has_many | ||||
| 283 | |||||
| 284 | Related object: L<Koha::Schema::Result::Branchrelation> | ||||
| 285 | |||||
| 286 | =cut | ||||
| 287 | |||||
| 288 | 1 | 4µs | 1 | 279µs | __PACKAGE__->has_many( # spent 279µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 289 | "branchrelations", | ||||
| 290 | "Koha::Schema::Result::Branchrelation", | ||||
| 291 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 292 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 293 | ); | ||||
| 294 | |||||
| 295 | =head2 branchtransfers_frombranches | ||||
| 296 | |||||
| 297 | Type: has_many | ||||
| 298 | |||||
| 299 | Related object: L<Koha::Schema::Result::Branchtransfer> | ||||
| 300 | |||||
| 301 | =cut | ||||
| 302 | |||||
| 303 | 1 | 4µs | 1 | 232µs | __PACKAGE__->has_many( # spent 232µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 304 | "branchtransfers_frombranches", | ||||
| 305 | "Koha::Schema::Result::Branchtransfer", | ||||
| 306 | { "foreign.frombranch" => "self.branchcode" }, | ||||
| 307 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 308 | ); | ||||
| 309 | |||||
| 310 | =head2 branchtransfers_tobranches | ||||
| 311 | |||||
| 312 | Type: has_many | ||||
| 313 | |||||
| 314 | Related object: L<Koha::Schema::Result::Branchtransfer> | ||||
| 315 | |||||
| 316 | =cut | ||||
| 317 | |||||
| 318 | 1 | 4µs | 1 | 214µs | __PACKAGE__->has_many( # spent 214µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 319 | "branchtransfers_tobranches", | ||||
| 320 | "Koha::Schema::Result::Branchtransfer", | ||||
| 321 | { "foreign.tobranch" => "self.branchcode" }, | ||||
| 322 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 323 | ); | ||||
| 324 | |||||
| 325 | =head2 categories_branches | ||||
| 326 | |||||
| 327 | Type: has_many | ||||
| 328 | |||||
| 329 | Related object: L<Koha::Schema::Result::CategoriesBranch> | ||||
| 330 | |||||
| 331 | =cut | ||||
| 332 | |||||
| 333 | 1 | 4µs | 1 | 221µs | __PACKAGE__->has_many( # spent 221µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 334 | "categories_branches", | ||||
| 335 | "Koha::Schema::Result::CategoriesBranch", | ||||
| 336 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 337 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 338 | ); | ||||
| 339 | |||||
| 340 | =head2 collections | ||||
| 341 | |||||
| 342 | Type: has_many | ||||
| 343 | |||||
| 344 | Related object: L<Koha::Schema::Result::Collection> | ||||
| 345 | |||||
| 346 | =cut | ||||
| 347 | |||||
| 348 | 1 | 4µs | 1 | 214µs | __PACKAGE__->has_many( # spent 214µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 349 | "collections", | ||||
| 350 | "Koha::Schema::Result::Collection", | ||||
| 351 | { "foreign.colBranchcode" => "self.branchcode" }, | ||||
| 352 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 353 | ); | ||||
| 354 | |||||
| 355 | =head2 course_items | ||||
| 356 | |||||
| 357 | Type: has_many | ||||
| 358 | |||||
| 359 | Related object: L<Koha::Schema::Result::CourseItem> | ||||
| 360 | |||||
| 361 | =cut | ||||
| 362 | |||||
| 363 | 1 | 4µs | 1 | 223µs | __PACKAGE__->has_many( # spent 223µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 364 | "course_items", | ||||
| 365 | "Koha::Schema::Result::CourseItem", | ||||
| 366 | { "foreign.holdingbranch" => "self.branchcode" }, | ||||
| 367 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 368 | ); | ||||
| 369 | |||||
| 370 | =head2 creator_batches | ||||
| 371 | |||||
| 372 | Type: has_many | ||||
| 373 | |||||
| 374 | Related object: L<Koha::Schema::Result::CreatorBatch> | ||||
| 375 | |||||
| 376 | =cut | ||||
| 377 | |||||
| 378 | 1 | 4µs | 1 | 212µs | __PACKAGE__->has_many( # spent 212µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 379 | "creator_batches", | ||||
| 380 | "Koha::Schema::Result::CreatorBatch", | ||||
| 381 | { "foreign.branch_code" => "self.branchcode" }, | ||||
| 382 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 383 | ); | ||||
| 384 | |||||
| 385 | =head2 default_branch_circ_rule | ||||
| 386 | |||||
| 387 | Type: might_have | ||||
| 388 | |||||
| 389 | Related object: L<Koha::Schema::Result::DefaultBranchCircRule> | ||||
| 390 | |||||
| 391 | =cut | ||||
| 392 | |||||
| 393 | 1 | 12µs | 1 | 240µs | __PACKAGE__->might_have( # spent 240µs making 1 call to DBIx::Class::Relationship::HasOne::might_have |
| 394 | "default_branch_circ_rule", | ||||
| 395 | "Koha::Schema::Result::DefaultBranchCircRule", | ||||
| 396 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 397 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 398 | ); | ||||
| 399 | |||||
| 400 | =head2 hold_fill_targets | ||||
| 401 | |||||
| 402 | Type: has_many | ||||
| 403 | |||||
| 404 | Related object: L<Koha::Schema::Result::HoldFillTarget> | ||||
| 405 | |||||
| 406 | =cut | ||||
| 407 | |||||
| 408 | 1 | 4µs | 1 | 214µs | __PACKAGE__->has_many( # spent 214µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 409 | "hold_fill_targets", | ||||
| 410 | "Koha::Schema::Result::HoldFillTarget", | ||||
| 411 | { "foreign.source_branchcode" => "self.branchcode" }, | ||||
| 412 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 413 | ); | ||||
| 414 | |||||
| 415 | =head2 items_holdingbranches | ||||
| 416 | |||||
| 417 | Type: has_many | ||||
| 418 | |||||
| 419 | Related object: L<Koha::Schema::Result::Item> | ||||
| 420 | |||||
| 421 | =cut | ||||
| 422 | |||||
| 423 | 1 | 4µs | 1 | 225µs | __PACKAGE__->has_many( # spent 225µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 424 | "items_holdingbranches", | ||||
| 425 | "Koha::Schema::Result::Item", | ||||
| 426 | { "foreign.holdingbranch" => "self.branchcode" }, | ||||
| 427 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 428 | ); | ||||
| 429 | |||||
| 430 | =head2 items_homebranches | ||||
| 431 | |||||
| 432 | Type: has_many | ||||
| 433 | |||||
| 434 | Related object: L<Koha::Schema::Result::Item> | ||||
| 435 | |||||
| 436 | =cut | ||||
| 437 | |||||
| 438 | 1 | 4µs | 1 | 231µs | __PACKAGE__->has_many( # spent 231µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 439 | "items_homebranches", | ||||
| 440 | "Koha::Schema::Result::Item", | ||||
| 441 | { "foreign.homebranch" => "self.branchcode" }, | ||||
| 442 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 443 | ); | ||||
| 444 | |||||
| 445 | =head2 opac_news | ||||
| 446 | |||||
| 447 | Type: has_many | ||||
| 448 | |||||
| 449 | Related object: L<Koha::Schema::Result::OpacNews> | ||||
| 450 | |||||
| 451 | =cut | ||||
| 452 | |||||
| 453 | 1 | 4µs | 1 | 232µs | __PACKAGE__->has_many( # spent 232µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 454 | "opac_news", | ||||
| 455 | "Koha::Schema::Result::OpacNews", | ||||
| 456 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 457 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 458 | ); | ||||
| 459 | |||||
| 460 | =head2 reserves | ||||
| 461 | |||||
| 462 | Type: has_many | ||||
| 463 | |||||
| 464 | Related object: L<Koha::Schema::Result::Reserve> | ||||
| 465 | |||||
| 466 | =cut | ||||
| 467 | |||||
| 468 | 1 | 4µs | 1 | 220µs | __PACKAGE__->has_many( # spent 220µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 469 | "reserves", | ||||
| 470 | "Koha::Schema::Result::Reserve", | ||||
| 471 | { "foreign.branchcode" => "self.branchcode" }, | ||||
| 472 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 473 | ); | ||||
| 474 | |||||
| 475 | =head2 transport_cost_frombranches | ||||
| 476 | |||||
| 477 | Type: has_many | ||||
| 478 | |||||
| 479 | Related object: L<Koha::Schema::Result::TransportCost> | ||||
| 480 | |||||
| 481 | =cut | ||||
| 482 | |||||
| 483 | 1 | 4µs | 1 | 243µs | __PACKAGE__->has_many( # spent 243µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 484 | "transport_cost_frombranches", | ||||
| 485 | "Koha::Schema::Result::TransportCost", | ||||
| 486 | { "foreign.frombranch" => "self.branchcode" }, | ||||
| 487 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 488 | ); | ||||
| 489 | |||||
| 490 | =head2 transport_cost_tobranches | ||||
| 491 | |||||
| 492 | Type: has_many | ||||
| 493 | |||||
| 494 | Related object: L<Koha::Schema::Result::TransportCost> | ||||
| 495 | |||||
| 496 | =cut | ||||
| 497 | |||||
| 498 | 1 | 4µs | 1 | 228µs | __PACKAGE__->has_many( # spent 228µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 499 | "transport_cost_tobranches", | ||||
| 500 | "Koha::Schema::Result::TransportCost", | ||||
| 501 | { "foreign.tobranch" => "self.branchcode" }, | ||||
| 502 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 503 | ); | ||||
| 504 | |||||
| 505 | =head2 categorycodes | ||||
| 506 | |||||
| 507 | Type: many_to_many | ||||
| 508 | |||||
| 509 | Composing rels: L</branchrelations> -> categorycode | ||||
| 510 | |||||
| 511 | =cut | ||||
| 512 | |||||
| 513 | 1 | 11µs | 1 | 163µs | __PACKAGE__->many_to_many("categorycodes", "branchrelations", "categorycode"); # spent 163µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many |
| 514 | |||||
| 515 | |||||
| 516 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-06 15:26:36 | ||||
| 517 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CGNPB/MkGLOihDThj43/4A | ||||
| 518 | |||||
| 519 | |||||
| 520 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 521 | 1 | 41µs | 1; |