| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqcontact.pm |
| Statements | Executed 13 statements in 516µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 28µs | Class::C3::Componentised::BEGIN@1.2544 |
| 1 | 1 | 1 | 11µs | 78µs | Koha::Schema::Result::Aqcontact::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::Aqcontact::BEGIN@13 |
| 1 | 1 | 1 | 8µs | 16µs | Koha::Schema::Result::Aqcontact::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 78µs | 2 | 32µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.2544 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.2544
# spent 3µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::Aqcontact; | ||||
| 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::Aqcontact | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 40µs | 2 | 29µs | # spent 20µs (10+9) within Koha::Schema::Result::Aqcontact::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@13
# spent 10µs making 1 call to strict::import |
| 14 | 2 | 36µs | 2 | 23µs | # spent 16µs (8+7) within Koha::Schema::Result::Aqcontact::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@14
# spent 7µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 281µs | 2 | 146µs | # spent 78µs (11+68) within Koha::Schema::Result::Aqcontact::BEGIN@16 which was called:
# once (11µs+68µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 78µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@16
# spent 68µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<aqcontacts> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 306µs | __PACKAGE__->table("aqcontacts"); # spent 306µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 name | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 1 | ||||
| 36 | size: 100 | ||||
| 37 | |||||
| 38 | =head2 position | ||||
| 39 | |||||
| 40 | data_type: 'varchar' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | size: 100 | ||||
| 43 | |||||
| 44 | =head2 phone | ||||
| 45 | |||||
| 46 | data_type: 'varchar' | ||||
| 47 | is_nullable: 1 | ||||
| 48 | size: 100 | ||||
| 49 | |||||
| 50 | =head2 altphone | ||||
| 51 | |||||
| 52 | data_type: 'varchar' | ||||
| 53 | is_nullable: 1 | ||||
| 54 | size: 100 | ||||
| 55 | |||||
| 56 | =head2 fax | ||||
| 57 | |||||
| 58 | data_type: 'varchar' | ||||
| 59 | is_nullable: 1 | ||||
| 60 | size: 100 | ||||
| 61 | |||||
| 62 | =head2 email | ||||
| 63 | |||||
| 64 | data_type: 'varchar' | ||||
| 65 | is_nullable: 1 | ||||
| 66 | size: 100 | ||||
| 67 | |||||
| 68 | =head2 notes | ||||
| 69 | |||||
| 70 | data_type: 'mediumtext' | ||||
| 71 | is_nullable: 1 | ||||
| 72 | |||||
| 73 | =head2 claimacquisition | ||||
| 74 | |||||
| 75 | data_type: 'tinyint' | ||||
| 76 | default_value: 0 | ||||
| 77 | is_nullable: 0 | ||||
| 78 | |||||
| 79 | =head2 claimissues | ||||
| 80 | |||||
| 81 | data_type: 'tinyint' | ||||
| 82 | default_value: 0 | ||||
| 83 | is_nullable: 0 | ||||
| 84 | |||||
| 85 | =head2 acqprimary | ||||
| 86 | |||||
| 87 | data_type: 'tinyint' | ||||
| 88 | default_value: 0 | ||||
| 89 | is_nullable: 0 | ||||
| 90 | |||||
| 91 | =head2 serialsprimary | ||||
| 92 | |||||
| 93 | data_type: 'tinyint' | ||||
| 94 | default_value: 0 | ||||
| 95 | is_nullable: 0 | ||||
| 96 | |||||
| 97 | =head2 booksellerid | ||||
| 98 | |||||
| 99 | data_type: 'integer' | ||||
| 100 | is_foreign_key: 1 | ||||
| 101 | is_nullable: 0 | ||||
| 102 | |||||
| 103 | =cut | ||||
| 104 | |||||
| 105 | 1 | 26µs | 1 | 4.91ms | __PACKAGE__->add_columns( # spent 4.91ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 106 | "id", | ||||
| 107 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 108 | "name", | ||||
| 109 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 110 | "position", | ||||
| 111 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 112 | "phone", | ||||
| 113 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 114 | "altphone", | ||||
| 115 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 116 | "fax", | ||||
| 117 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 118 | "email", | ||||
| 119 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 120 | "notes", | ||||
| 121 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 122 | "claimacquisition", | ||||
| 123 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 124 | "claimissues", | ||||
| 125 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 126 | "acqprimary", | ||||
| 127 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 128 | "serialsprimary", | ||||
| 129 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 130 | "booksellerid", | ||||
| 131 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 132 | ); | ||||
| 133 | |||||
| 134 | =head1 PRIMARY KEY | ||||
| 135 | |||||
| 136 | =over 4 | ||||
| 137 | |||||
| 138 | =item * L</id> | ||||
| 139 | |||||
| 140 | =back | ||||
| 141 | |||||
| 142 | =cut | ||||
| 143 | |||||
| 144 | 1 | 14µs | 1 | 80µs | __PACKAGE__->set_primary_key("id"); # spent 80µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 145 | |||||
| 146 | =head1 RELATIONS | ||||
| 147 | |||||
| 148 | =head2 booksellerid | ||||
| 149 | |||||
| 150 | Type: belongs_to | ||||
| 151 | |||||
| 152 | Related object: L<Koha::Schema::Result::Aqbookseller> | ||||
| 153 | |||||
| 154 | =cut | ||||
| 155 | |||||
| 156 | 1 | 9µs | 1 | 383µs | __PACKAGE__->belongs_to( # spent 383µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 157 | "booksellerid", | ||||
| 158 | "Koha::Schema::Result::Aqbookseller", | ||||
| 159 | { id => "booksellerid" }, | ||||
| 160 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 161 | ); | ||||
| 162 | |||||
| 163 | |||||
| 164 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-26 11:53:50 | ||||
| 165 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sIT7PzDxqInviUSe7wuzow | ||||
| 166 | |||||
| 167 | |||||
| 168 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 169 | 1 | 12µs | 1; |