Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportAuth.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 29µs | 33µs | BEGIN@1.1769 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 22µs | BEGIN@13 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 11µs | 20µs | BEGIN@14 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 10µs | 91µs | BEGIN@16 | Koha::Schema::Result::ImportAuth::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 38µs | # spent 33µs (29+4) within Class::C3::Componentised::BEGIN@1.1769 which was called:
# once (29µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 33µs making 1 call to Class::C3::Componentised::BEGIN@1.1769
# 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 | 33µs | # spent 22µs (11+11) within Koha::Schema::Result::ImportAuth::BEGIN@13 which was called:
# once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
14 | 2 | 30µs | # spent 20µs (11+9) within Koha::Schema::Result::ImportAuth::BEGIN@14 which was called:
# once (11µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 20µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@14
# spent 9µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 172µs | # spent 91µs (10+81) within Koha::Schema::Result::ImportAuth::BEGIN@16 which was called:
# once (10µs+81µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 91µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@16
# spent 81µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<import_auths> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 329µs | __PACKAGE__->table("import_auths"); # spent 329µ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 | 1.93ms | __PACKAGE__->add_columns( # spent 1.93ms 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 | 332µs | __PACKAGE__->belongs_to( # spent 332µ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; |