| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/OaiSetsDescription.pm |
| Statements | Executed 12 statements in 397µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 28µs | Class::C3::Componentised::BEGIN@1.1090 |
| 1 | 1 | 1 | 11µs | 88µs | Koha::Schema::Result::OaiSetsDescription::BEGIN@16 |
| 1 | 1 | 1 | 11µs | 19µs | Koha::Schema::Result::OaiSetsDescription::BEGIN@13 |
| 1 | 1 | 1 | 8µs | 16µs | Koha::Schema::Result::OaiSetsDescription::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 80µs | 2 | 32µs | # spent 28µs (25+4) within Class::C3::Componentised::BEGIN@1.1090 which was called:
# once (25µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.1090
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::OaiSetsDescription; | ||||
| 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::OaiSetsDescription | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 37µs | 2 | 28µs | # spent 19µs (11+8) within Koha::Schema::Result::OaiSetsDescription::BEGIN@13 which was called:
# once (11µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::OaiSetsDescription::BEGIN@13
# spent 8µs making 1 call to strict::import |
| 14 | 2 | 36µs | 2 | 23µs | # spent 16µs (8+7) within Koha::Schema::Result::OaiSetsDescription::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::OaiSetsDescription::BEGIN@14
# spent 7µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 191µs | 2 | 165µs | # spent 88µs (11+77) within Koha::Schema::Result::OaiSetsDescription::BEGIN@16 which was called:
# once (11µs+77µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 88µs making 1 call to Koha::Schema::Result::OaiSetsDescription::BEGIN@16
# spent 77µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<oai_sets_descriptions> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 18µs | 1 | 305µs | __PACKAGE__->table("oai_sets_descriptions"); # spent 305µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 set_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 description | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 255 | ||||
| 37 | |||||
| 38 | =cut | ||||
| 39 | |||||
| 40 | 1 | 18µs | 1 | 234µs | __PACKAGE__->add_columns( # spent 234µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 41 | "set_id", | ||||
| 42 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 43 | "description", | ||||
| 44 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 45 | ); | ||||
| 46 | |||||
| 47 | =head1 RELATIONS | ||||
| 48 | |||||
| 49 | =head2 set | ||||
| 50 | |||||
| 51 | Type: belongs_to | ||||
| 52 | |||||
| 53 | Related object: L<Koha::Schema::Result::OaiSet> | ||||
| 54 | |||||
| 55 | =cut | ||||
| 56 | |||||
| 57 | 1 | 10µs | 1 | 287µs | __PACKAGE__->belongs_to( # spent 287µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 58 | "set", | ||||
| 59 | "Koha::Schema::Result::OaiSet", | ||||
| 60 | { id => "set_id" }, | ||||
| 61 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 62 | ); | ||||
| 63 | |||||
| 64 | |||||
| 65 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 66 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W8gqXVcVgEpJUdsKQsPn5A | ||||
| 67 | |||||
| 68 | |||||
| 69 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 70 | 1 | 7µs | 1; |