Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportBiblio.pm |
Statements | Executed 12 statements in 497µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 30µs | 34µs | BEGIN@1.1071 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 21µs | BEGIN@13 | Koha::Schema::Result::ImportBiblio::
1 | 1 | 1 | 10µs | 97µs | BEGIN@16 | Koha::Schema::Result::ImportBiblio::
1 | 1 | 1 | 10µs | 17µs | BEGIN@14 | Koha::Schema::Result::ImportBiblio::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 75µs | 2 | 38µs | # spent 34µs (30+4) within Class::C3::Componentised::BEGIN@1.1071 which was called:
# once (30µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.1071
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::ImportBiblio; | ||||
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::ImportBiblio | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 42µs | 2 | 32µs | # spent 21µs (11+10) within Koha::Schema::Result::ImportBiblio::BEGIN@13 which was called:
# once (11µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 40µs | 2 | 25µs | # spent 17µs (10+8) within Koha::Schema::Result::ImportBiblio::BEGIN@14 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 272µs | 2 | 184µs | # spent 97µs (10+86) within Koha::Schema::Result::ImportBiblio::BEGIN@16 which was called:
# once (10µs+86µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 97µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@16
# spent 86µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<import_biblios> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 23µs | 1 | 394µs | __PACKAGE__->table("import_biblios"); # spent 394µ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_biblionumber | ||||
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 original_source | ||||
44 | |||||
45 | data_type: 'varchar' | ||||
46 | is_nullable: 1 | ||||
47 | size: 25 | ||||
48 | |||||
49 | =head2 title | ||||
50 | |||||
51 | data_type: 'varchar' | ||||
52 | is_nullable: 1 | ||||
53 | size: 128 | ||||
54 | |||||
55 | =head2 author | ||||
56 | |||||
57 | data_type: 'varchar' | ||||
58 | is_nullable: 1 | ||||
59 | size: 80 | ||||
60 | |||||
61 | =head2 isbn | ||||
62 | |||||
63 | data_type: 'varchar' | ||||
64 | is_nullable: 1 | ||||
65 | size: 30 | ||||
66 | |||||
67 | =head2 issn | ||||
68 | |||||
69 | data_type: 'varchar' | ||||
70 | is_nullable: 1 | ||||
71 | size: 9 | ||||
72 | |||||
73 | =head2 has_items | ||||
74 | |||||
75 | data_type: 'tinyint' | ||||
76 | default_value: 0 | ||||
77 | is_nullable: 0 | ||||
78 | |||||
79 | =cut | ||||
80 | |||||
81 | 1 | 26µs | 1 | 3.23ms | __PACKAGE__->add_columns( # spent 3.23ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
82 | "import_record_id", | ||||
83 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
84 | "matched_biblionumber", | ||||
85 | { data_type => "integer", is_nullable => 1 }, | ||||
86 | "control_number", | ||||
87 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
88 | "original_source", | ||||
89 | { data_type => "varchar", is_nullable => 1, size => 25 }, | ||||
90 | "title", | ||||
91 | { data_type => "varchar", is_nullable => 1, size => 128 }, | ||||
92 | "author", | ||||
93 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
94 | "isbn", | ||||
95 | { data_type => "varchar", is_nullable => 1, size => 30 }, | ||||
96 | "issn", | ||||
97 | { data_type => "varchar", is_nullable => 1, size => 9 }, | ||||
98 | "has_items", | ||||
99 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
100 | ); | ||||
101 | |||||
102 | =head1 RELATIONS | ||||
103 | |||||
104 | =head2 import_record | ||||
105 | |||||
106 | Type: belongs_to | ||||
107 | |||||
108 | Related object: L<Koha::Schema::Result::ImportRecord> | ||||
109 | |||||
110 | =cut | ||||
111 | |||||
112 | 1 | 10µs | 1 | 299µs | __PACKAGE__->belongs_to( # spent 299µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
113 | "import_record", | ||||
114 | "Koha::Schema::Result::ImportRecord", | ||||
115 | { import_record_id => "import_record_id" }, | ||||
116 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
117 | ); | ||||
118 | |||||
119 | |||||
120 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
121 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6dQmL78YztbxS9qXHciPTQ | ||||
122 | |||||
123 | |||||
124 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
125 | 1 | 10µs | 1; |