Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportAuth.pm |
Statements | Executed 12 statements in 496µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 37µs | 41µs | BEGIN@1.1310 | Class::C3::Componentised::
1 | 1 | 1 | 22µs | 33µs | BEGIN@14 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 11µs | 98µs | BEGIN@16 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 11µs | 24µs | BEGIN@13 | Koha::Schema::Result::ImportAuth::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 88µs | 2 | 46µs | # spent 41µs (37+4) within Class::C3::Componentised::BEGIN@1.1310 which was called:
# once (37µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 41µs making 1 call to Class::C3::Componentised::BEGIN@1.1310
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::ImportAuth; | ||||
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::ImportAuth | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 57µs | 2 | 38µs | # spent 24µs (11+13) within Koha::Schema::Result::ImportAuth::BEGIN@13 which was called:
# once (11µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 24µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@13
# spent 13µs making 1 call to strict::import |
14 | 2 | 55µs | 2 | 43µs | # spent 33µs (22+11) within Koha::Schema::Result::ImportAuth::BEGIN@14 which was called:
# once (22µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 33µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@14
# spent 11µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 226µs | 2 | 185µs | # spent 98µs (11+87) within Koha::Schema::Result::ImportAuth::BEGIN@16 which was called:
# once (11µs+87µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 98µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@16
# spent 87µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<import_auths> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 23µs | 1 | 374µs | __PACKAGE__->table("import_auths"); # spent 374µ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 matched_authid | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | is_nullable: 1 | ||||
36 | |||||
37 | =head2 control_number | ||||
38 | |||||
39 | data_type: 'varchar' | ||||
40 | is_nullable: 1 | ||||
41 | size: 25 | ||||
42 | |||||
43 | =head2 authorized_heading | ||||
44 | |||||
45 | data_type: 'varchar' | ||||
46 | is_nullable: 1 | ||||
47 | size: 128 | ||||
48 | |||||
49 | =head2 original_source | ||||
50 | |||||
51 | data_type: 'varchar' | ||||
52 | is_nullable: 1 | ||||
53 | size: 25 | ||||
54 | |||||
55 | =cut | ||||
56 | |||||
57 | 1 | 28µs | 1 | 1.56ms | __PACKAGE__->add_columns( # spent 1.56ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
58 | "import_record_id", | ||||
59 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
60 | "matched_authid", | ||||
61 | { data_type => "integer", is_nullable => 1 }, | ||||
62 | "control_number", | ||||
63 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
64 | "authorized_heading", | ||||
65 | { data_type => "varchar", is_nullable => 1, size => 128 }, | ||||
66 | "original_source", | ||||
67 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
68 | ); | ||||
69 | |||||
70 | =head1 RELATIONS | ||||
71 | |||||
72 | =head2 import_record | ||||
73 | |||||
74 | Type: belongs_to | ||||
75 | |||||
76 | Related object: L<Koha::Schema::Result::ImportRecord> | ||||
77 | |||||
78 | =cut | ||||
79 | |||||
80 | 1 | 11µs | 1 | 301µs | __PACKAGE__->belongs_to( # spent 301µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
81 | "import_record", | ||||
82 | "Koha::Schema::Result::ImportRecord", | ||||
83 | { import_record_id => "import_record_id" }, | ||||
84 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
85 | ); | ||||
86 | |||||
87 | |||||
88 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
89 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bm1ctlmYDh4qWUU95SLqBw | ||||
90 | |||||
91 | |||||
92 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
93 | 1 | 8µs | 1; |