| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/AqorderUser.pm | 
| Statements | Executed 14 statements in 660µs | 
| Calls | P | F | Exclusive Time | Inclusive Time | Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 30µs | 34µs | Class::C3::Componentised::BEGIN@1.2547 | 
| 1 | 1 | 1 | 16µs | 26µs | Koha::Schema::Result::AqorderUser::BEGIN@14 | 
| 1 | 1 | 1 | 15µs | 30µs | Koha::Schema::Result::AqorderUser::BEGIN@13 | 
| 1 | 1 | 1 | 15µs | 120µs | Koha::Schema::Result::AqorderUser::BEGIN@16 | 
| Line | State ments | Time on line | Calls | Time in subs | Code | 
|---|---|---|---|---|---|
| 1 | 2 | 180µs | 2 | 37µs | # spent 34µs (30+4) within Class::C3::Componentised::BEGIN@1.2547 which was called:
#    once (30µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent    34µs making 1 call to Class::C3::Componentised::BEGIN@1.2547
# spent     4µs making 1 call to utf8::import | 
| 2 | package Koha::Schema::Result::AqorderUser; | ||||
| 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::AqorderUser | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 63µs | 2 | 45µs | # spent 30µs (15+15) within Koha::Schema::Result::AqorderUser::BEGIN@13 which was called:
#    once (15µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent    30µs making 1 call to Koha::Schema::Result::AqorderUser::BEGIN@13
# spent    15µs making 1 call to strict::import | 
| 14 | 2 | 67µs | 2 | 36µs | # spent 26µs (16+10) within Koha::Schema::Result::AqorderUser::BEGIN@14 which was called:
#    once (16µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent    26µs making 1 call to Koha::Schema::Result::AqorderUser::BEGIN@14
# spent    10µs making 1 call to warnings::import | 
| 15 | |||||
| 16 | 2 | 275µs | 2 | 226µs | # spent 120µs (15+106) within Koha::Schema::Result::AqorderUser::BEGIN@16 which was called:
#    once (15µs+106µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent   120µs making 1 call to Koha::Schema::Result::AqorderUser::BEGIN@16
# spent   106µs making 1 call to base::import | 
| 17 | |||||
| 18 | =head1 TABLE: C<aqorder_users> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 22µs | 1 | 403µs | __PACKAGE__->table("aqorder_users"); # spent   403µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | 
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 ordernumber | ||||
| 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 | 18µs | 1 | 213µs | __PACKAGE__->add_columns( # spent   213µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | 
| 41 | "ordernumber", | ||||
| 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</ordernumber> | ||||
| 52 | |||||
| 53 | =item * L</borrowernumber> | ||||
| 54 | |||||
| 55 | =back | ||||
| 56 | |||||
| 57 | =cut | ||||
| 58 | |||||
| 59 | 1 | 15µs | 1 | 77µs | __PACKAGE__->set_primary_key("ordernumber", "borrowernumber"); # spent    77µ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 | 8µs | 1 | 372µs | __PACKAGE__->belongs_to( # spent   372µ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 ordernumber | ||||
| 79 | |||||
| 80 | Type: belongs_to | ||||
| 81 | |||||
| 82 | Related object: L<Koha::Schema::Result::Aqorder> | ||||
| 83 | |||||
| 84 | =cut | ||||
| 85 | |||||
| 86 | 1 | 4µs | 1 | 224µs | __PACKAGE__->belongs_to( # spent   224µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | 
| 87 | "ordernumber", | ||||
| 88 | "Koha::Schema::Result::Aqorder", | ||||
| 89 | { ordernumber => "ordernumber" }, | ||||
| 90 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 91 | ); | ||||
| 92 | |||||
| 93 | |||||
| 94 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-03-11 11:50:38 | ||||
| 95 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6mhRlYUeJnpQIJ2P9WTbHQ | ||||
| 96 | |||||
| 97 | |||||
| 98 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 99 | 1 | 8µs | 1; |