Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportBiblio.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 42µs | 47µs | BEGIN@1.1652 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 26µs | BEGIN@13 | Koha::Schema::Result::ImportBiblio::
1 | 1 | 1 | 7µs | 94µs | BEGIN@16 | Koha::Schema::Result::ImportBiblio::
1 | 1 | 1 | 0s | 0s | BEGIN@14 | Koha::Schema::Result::ImportBiblio::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 52µs | # spent 47µs (42+5) within Class::C3::Componentised::BEGIN@1.1652 which was called:
# once (42µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 47µs making 1 call to Class::C3::Componentised::BEGIN@1.1652
# spent 5µ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 | 40µs | # spent 26µs (12+14) within Koha::Schema::Result::ImportBiblio::BEGIN@13 which was called:
# once (12µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 26µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
14 | 2 | 0s | # spent 0s within Koha::Schema::Result::ImportBiblio::BEGIN@14 which was called:
# once (0s+0s) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 0s making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@14
# spent 0s making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 181µs | # spent 94µs (7+87) within Koha::Schema::Result::ImportBiblio::BEGIN@16 which was called:
# once (7µs+87µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 94µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@16
# spent 87µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<import_biblios> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 348µs | __PACKAGE__->table("import_biblios"); # spent 348µ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 | 2.59ms | __PACKAGE__->add_columns( # spent 2.59ms 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 | 318µs | __PACKAGE__->belongs_to( # spent 318µ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; |