| 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 | 26µs | 29µs | Class::C3::Componentised::BEGIN@1.157 |
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::ImportBiblio::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 90µs | Koha::Schema::Result::ImportBiblio::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::ImportBiblio::BEGIN@14 |
| 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.157 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.157
# spent 3µ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 | 31µs | # spent 20µs (10+11) within Koha::Schema::Result::ImportBiblio::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
| 14 | 2 | 24µs | # spent 16µs (9+7) within Koha::Schema::Result::ImportBiblio::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 170µs | # spent 90µs (10+80) within Koha::Schema::Result::ImportBiblio::BEGIN@16 which was called:
# once (10µs+80µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 90µs making 1 call to Koha::Schema::Result::ImportBiblio::BEGIN@16
# spent 80µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<import_biblios> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 347µs | __PACKAGE__->table("import_biblios"); # spent 347µ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 | 3.38ms | __PACKAGE__->add_columns( # spent 3.38ms 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 | 302µs | __PACKAGE__->belongs_to( # spent 302µ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; |