| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/OverduerulesTransportType.pm |
| Statements | Executed 14 statements in 489µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 74µs | 78µs | Class::C3::Componentised::BEGIN@1.641 |
| 1 | 1 | 1 | 11µs | 86µs | Koha::Schema::Result::OverduerulesTransportType::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 18µs | Koha::Schema::Result::OverduerulesTransportType::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 21µs | Koha::Schema::Result::OverduerulesTransportType::BEGIN@13 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 78µs | 2 | 82µs | # spent 78µs (74+4) within Class::C3::Componentised::BEGIN@1.641 which was called:
# once (74µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 78µs making 1 call to Class::C3::Componentised::BEGIN@1.641
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::OverduerulesTransportType; | ||||
| 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::OverduerulesTransportType | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 43µs | 2 | 32µs | # spent 21µs (10+11) within Koha::Schema::Result::OverduerulesTransportType::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::BEGIN@13
# spent 11µs making 1 call to strict::import |
| 14 | 2 | 40µs | 2 | 27µs | # spent 18µs (10+8) within Koha::Schema::Result::OverduerulesTransportType::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::OverduerulesTransportType::BEGIN@14
# spent 8µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 247µs | 2 | 162µs | # spent 86µs (11+75) within Koha::Schema::Result::OverduerulesTransportType::BEGIN@16 which was called:
# once (11µs+75µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 86µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::BEGIN@16
# spent 75µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<overduerules_transport_types> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 22µs | 1 | 360µs | __PACKAGE__->table("overduerules_transport_types"); # spent 360µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 message_transport_type | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | default_value: 'email' | ||||
| 36 | is_foreign_key: 1 | ||||
| 37 | is_nullable: 0 | ||||
| 38 | size: 20 | ||||
| 39 | |||||
| 40 | =head2 overduerules_id | ||||
| 41 | |||||
| 42 | data_type: 'integer' | ||||
| 43 | is_foreign_key: 1 | ||||
| 44 | is_nullable: 0 | ||||
| 45 | |||||
| 46 | =cut | ||||
| 47 | |||||
| 48 | 1 | 20µs | 1 | 1.00ms | __PACKAGE__->add_columns( # spent 1.00ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 49 | "id", | ||||
| 50 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 51 | "message_transport_type", | ||||
| 52 | { | ||||
| 53 | data_type => "varchar", | ||||
| 54 | default_value => "email", | ||||
| 55 | is_foreign_key => 1, | ||||
| 56 | is_nullable => 0, | ||||
| 57 | size => 20, | ||||
| 58 | }, | ||||
| 59 | "overduerules_id", | ||||
| 60 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 61 | ); | ||||
| 62 | |||||
| 63 | =head1 PRIMARY KEY | ||||
| 64 | |||||
| 65 | =over 4 | ||||
| 66 | |||||
| 67 | =item * L</id> | ||||
| 68 | |||||
| 69 | =back | ||||
| 70 | |||||
| 71 | =cut | ||||
| 72 | |||||
| 73 | 1 | 16µs | 1 | 76µs | __PACKAGE__->set_primary_key("id"); # spent 76µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 74 | |||||
| 75 | =head1 RELATIONS | ||||
| 76 | |||||
| 77 | =head2 message_transport_type | ||||
| 78 | |||||
| 79 | Type: belongs_to | ||||
| 80 | |||||
| 81 | Related object: L<Koha::Schema::Result::MessageTransportType> | ||||
| 82 | |||||
| 83 | =cut | ||||
| 84 | |||||
| 85 | 1 | 2µs | 1 | 842µs | __PACKAGE__->belongs_to( # spent 842µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 86 | "message_transport_type", | ||||
| 87 | "Koha::Schema::Result::MessageTransportType", | ||||
| 88 | { message_transport_type => "message_transport_type" }, | ||||
| 89 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 90 | ); | ||||
| 91 | |||||
| 92 | =head2 overduerule | ||||
| 93 | |||||
| 94 | Type: belongs_to | ||||
| 95 | |||||
| 96 | Related object: L<Koha::Schema::Result::Overduerule> | ||||
| 97 | |||||
| 98 | =cut | ||||
| 99 | |||||
| 100 | 1 | 10µs | 1 | 298µs | __PACKAGE__->belongs_to( # spent 298µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 101 | "overduerule", | ||||
| 102 | "Koha::Schema::Result::Overduerule", | ||||
| 103 | { overduerules_id => "overduerules_id" }, | ||||
| 104 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 105 | ); | ||||
| 106 | |||||
| 107 | |||||
| 108 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28 | ||||
| 109 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KYpSfCfzkLxRYI2pQY5Htg | ||||
| 110 | |||||
| 111 | |||||
| 112 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 113 | 1 | 10µs | 1; |