| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqbudgetborrower.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 28µs | 32µs | Class::C3::Componentised::BEGIN@1.1500 |
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::Aqbudgetborrower::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 81µs | Koha::Schema::Result::Aqbudgetborrower::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::Aqbudgetborrower::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 36µs | # spent 32µs (28+4) within Class::C3::Componentised::BEGIN@1.1500 which was called:
# once (28µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.1500
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::Aqbudgetborrower; | ||||
| 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::Aqbudgetborrower | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::Aqbudgetborrower::BEGIN@13 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
| 14 | 2 | 24µs | # spent 16µs (9+7) within Koha::Schema::Result::Aqbudgetborrower::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 151µs | # spent 81µs (10+71) within Koha::Schema::Result::Aqbudgetborrower::BEGIN@16 which was called:
# once (10µs+71µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 81µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::BEGIN@16
# spent 71µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<aqbudgetborrowers> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 320µs | __PACKAGE__->table("aqbudgetborrowers"); # spent 320µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 budget_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 borrowernumber | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_foreign_key: 1 | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =cut | ||||
| 39 | |||||
| 40 | 1 | 231µs | __PACKAGE__->add_columns( # spent 231µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 41 | "budget_id", | ||||
| 42 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 43 | "borrowernumber", | ||||
| 44 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 45 | ); | ||||
| 46 | |||||
| 47 | =head1 PRIMARY KEY | ||||
| 48 | |||||
| 49 | =over 4 | ||||
| 50 | |||||
| 51 | =item * L</budget_id> | ||||
| 52 | |||||
| 53 | =item * L</borrowernumber> | ||||
| 54 | |||||
| 55 | =back | ||||
| 56 | |||||
| 57 | =cut | ||||
| 58 | |||||
| 59 | 1 | 76µs | __PACKAGE__->set_primary_key("budget_id", "borrowernumber"); # spent 76µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 60 | |||||
| 61 | =head1 RELATIONS | ||||
| 62 | |||||
| 63 | =head2 borrowernumber | ||||
| 64 | |||||
| 65 | Type: belongs_to | ||||
| 66 | |||||
| 67 | Related object: L<Koha::Schema::Result::Borrower> | ||||
| 68 | |||||
| 69 | =cut | ||||
| 70 | |||||
| 71 | 1 | 366µs | __PACKAGE__->belongs_to( # spent 366µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 72 | "borrowernumber", | ||||
| 73 | "Koha::Schema::Result::Borrower", | ||||
| 74 | { borrowernumber => "borrowernumber" }, | ||||
| 75 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 76 | ); | ||||
| 77 | |||||
| 78 | =head2 budget | ||||
| 79 | |||||
| 80 | Type: belongs_to | ||||
| 81 | |||||
| 82 | Related object: L<Koha::Schema::Result::Aqbudget> | ||||
| 83 | |||||
| 84 | =cut | ||||
| 85 | |||||
| 86 | 1 | 201µs | __PACKAGE__->belongs_to( # spent 201µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 87 | "budget", | ||||
| 88 | "Koha::Schema::Result::Aqbudget", | ||||
| 89 | { budget_id => "budget_id" }, | ||||
| 90 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 91 | ); | ||||
| 92 | |||||
| 93 | |||||
| 94 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 95 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3PWUS/0L1ERMWWkghUO7ng | ||||
| 96 | |||||
| 97 | |||||
| 98 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 99 | 1; |