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 | 30µs | 33µs | BEGIN@1.212 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 80µs | BEGIN@16 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 10µs | 20µs | BEGIN@13 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 8µs | 15µs | BEGIN@14 | Koha::Schema::Result::ImportRecordMatch::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 36µs | # spent 33µs (30+3) within Class::C3::Componentised::BEGIN@1.212 which was called:
# once (30µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 33µs making 1 call to Class::C3::Componentised::BEGIN@1.212
# 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 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::ImportRecordMatch::BEGIN@13 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
14 | 2 | 23µs | # spent 15µs (8+7) within Koha::Schema::Result::ImportRecordMatch::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 149µs | # spent 80µs (10+69) within Koha::Schema::Result::ImportRecordMatch::BEGIN@16 which was called:
# once (10µs+69µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 80µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@16
# spent 69µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<import_record_matches> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 131µs | __PACKAGE__->table("import_record_matches"); # spent 131µ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 | 1.18ms | __PACKAGE__->add_columns( # spent 1.18ms 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 | 300µs | __PACKAGE__->belongs_to( # spent 300µ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; |