| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/OaiSetsBiblio.pm |
| Statements | Executed 13 statements in 458µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 32µs | 36µs | Class::C3::Componentised::BEGIN@1.1737 |
| 1 | 1 | 1 | 17µs | 29µs | Koha::Schema::Result::OaiSetsBiblio::BEGIN@13 |
| 1 | 1 | 1 | 12µs | 23µs | Koha::Schema::Result::OaiSetsBiblio::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 91µs | Koha::Schema::Result::OaiSetsBiblio::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 77µs | 2 | 40µs | # spent 36µs (32+4) within Class::C3::Componentised::BEGIN@1.1737 which was called:
# once (32µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.1737
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::OaiSetsBiblio; | ||||
| 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::OaiSetsBiblio | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 52µs | 2 | 41µs | # spent 29µs (17+12) within Koha::Schema::Result::OaiSetsBiblio::BEGIN@13 which was called:
# once (17µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 29µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::BEGIN@13
# spent 12µs making 1 call to strict::import |
| 14 | 2 | 47µs | 2 | 35µs | # spent 23µs (12+11) within Koha::Schema::Result::OaiSetsBiblio::BEGIN@14 which was called:
# once (12µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 23µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::BEGIN@14
# spent 11µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 213µs | 2 | 171µs | # spent 91µs (10+80) within Koha::Schema::Result::OaiSetsBiblio::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::OaiSetsBiblio::BEGIN@16
# spent 80µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<oai_sets_biblios> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 337µs | __PACKAGE__->table("oai_sets_biblios"); # spent 337µ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_nullable: 0 | ||||
| 30 | |||||
| 31 | =head2 set_id | ||||
| 32 | |||||
| 33 | data_type: 'integer' | ||||
| 34 | is_foreign_key: 1 | ||||
| 35 | is_nullable: 0 | ||||
| 36 | |||||
| 37 | =cut | ||||
| 38 | |||||
| 39 | 1 | 18µs | 1 | 205µs | __PACKAGE__->add_columns( # spent 205µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 40 | "biblionumber", | ||||
| 41 | { data_type => "integer", is_nullable => 0 }, | ||||
| 42 | "set_id", | ||||
| 43 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 44 | ); | ||||
| 45 | |||||
| 46 | =head1 PRIMARY KEY | ||||
| 47 | |||||
| 48 | =over 4 | ||||
| 49 | |||||
| 50 | =item * L</biblionumber> | ||||
| 51 | |||||
| 52 | =item * L</set_id> | ||||
| 53 | |||||
| 54 | =back | ||||
| 55 | |||||
| 56 | =cut | ||||
| 57 | |||||
| 58 | 1 | 16µs | 1 | 73µs | __PACKAGE__->set_primary_key("biblionumber", "set_id"); # spent 73µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 59 | |||||
| 60 | =head1 RELATIONS | ||||
| 61 | |||||
| 62 | =head2 set | ||||
| 63 | |||||
| 64 | Type: belongs_to | ||||
| 65 | |||||
| 66 | Related object: L<Koha::Schema::Result::OaiSet> | ||||
| 67 | |||||
| 68 | =cut | ||||
| 69 | |||||
| 70 | 1 | 8µs | 1 | 300µs | __PACKAGE__->belongs_to( # spent 300µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 71 | "set", | ||||
| 72 | "Koha::Schema::Result::OaiSet", | ||||
| 73 | { id => "set_id" }, | ||||
| 74 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 75 | ); | ||||
| 76 | |||||
| 77 | |||||
| 78 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22 | ||||
| 79 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oGVUyyyune8FVOj504xizw | ||||
| 80 | |||||
| 81 | |||||
| 82 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 83 | 1 | 6µs | 1; |