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 | 26µs | 29µs | BEGIN@1.1931 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 77µs | BEGIN@16 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 10µs | 20µs | BEGIN@13 | Koha::Schema::Result::ImportAuth::
1 | 1 | 1 | 9µs | 15µs | BEGIN@14 | Koha::Schema::Result::ImportAuth::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 33µs | # spent 29µs (26+3) within Class::C3::Componentised::BEGIN@1.1931 which was called:
# once (26µ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.1931
# spent 3µ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 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::ImportAuth::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::ImportAuth::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
14 | 2 | 22µs | # spent 15µs (9+7) within Koha::Schema::Result::ImportAuth::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 144µs | # spent 77µs (10+67) within Koha::Schema::Result::ImportAuth::BEGIN@16 which was called:
# once (10µs+67µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 77µs making 1 call to Koha::Schema::Result::ImportAuth::BEGIN@16
# spent 67µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<import_auths> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 294µs | __PACKAGE__->table("import_auths"); # 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 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.54ms | __PACKAGE__->add_columns( # spent 1.54ms 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 | 354µs | __PACKAGE__->belongs_to( # spent 354µ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; |