| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportRecordMatch.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 29µs | Class::C3::Componentised::BEGIN@1.1859 |
| 1 | 1 | 1 | 10µs | 89µs | Koha::Schema::Result::ImportRecordMatch::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::ImportRecordMatch::BEGIN@13 |
| 1 | 1 | 1 | 8µs | 14µs | Koha::Schema::Result::ImportRecordMatch::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 32µs | # spent 29µs (25+3) within Class::C3::Componentised::BEGIN@1.1859 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.1859
# spent 3µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::ImportRecordMatch; | ||||
| 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::ImportRecordMatch | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 28µs | # spent 18µs (9+10) within Koha::Schema::Result::ImportRecordMatch::BEGIN@13 which was called:
# once (9µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
| 14 | 2 | 20µs | # spent 14µs (8+6) within Koha::Schema::Result::ImportRecordMatch::BEGIN@14 which was called:
# once (8µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 14µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 168µs | # spent 89µs (10+79) within Koha::Schema::Result::ImportRecordMatch::BEGIN@16 which was called:
# once (10µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 89µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@16
# spent 79µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<import_record_matches> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 294µs | __PACKAGE__->table("import_record_matches"); # spent 294µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 import_record_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 candidate_match_id | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | |||||
| 37 | =head2 score | ||||
| 38 | |||||
| 39 | data_type: 'integer' | ||||
| 40 | default_value: 0 | ||||
| 41 | is_nullable: 0 | ||||
| 42 | |||||
| 43 | =cut | ||||
| 44 | |||||
| 45 | 1 | 5.15ms | __PACKAGE__->add_columns( # spent 5.15ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 46 | "import_record_id", | ||||
| 47 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 48 | "candidate_match_id", | ||||
| 49 | { data_type => "integer", is_nullable => 0 }, | ||||
| 50 | "score", | ||||
| 51 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
| 52 | ); | ||||
| 53 | |||||
| 54 | =head1 RELATIONS | ||||
| 55 | |||||
| 56 | =head2 import_record | ||||
| 57 | |||||
| 58 | Type: belongs_to | ||||
| 59 | |||||
| 60 | Related object: L<Koha::Schema::Result::ImportRecord> | ||||
| 61 | |||||
| 62 | =cut | ||||
| 63 | |||||
| 64 | 1 | 410µs | __PACKAGE__->belongs_to( # spent 410µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 65 | "import_record", | ||||
| 66 | "Koha::Schema::Result::ImportRecord", | ||||
| 67 | { import_record_id => "import_record_id" }, | ||||
| 68 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 69 | ); | ||||
| 70 | |||||
| 71 | |||||
| 72 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 | ||||
| 73 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw | ||||
| 74 | |||||
| 75 | |||||
| 76 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 77 | 1; |