| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/City.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 29µs | 33µs | Class::C3::Componentised::BEGIN@1.270 |
| 1 | 1 | 1 | 12µs | 85µs | Koha::Schema::Result::City::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 18µs | Koha::Schema::Result::City::BEGIN@14 |
| 1 | 1 | 1 | 9µs | 20µs | Koha::Schema::Result::City::BEGIN@13 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 38µs | # spent 33µs (29+5) within Class::C3::Componentised::BEGIN@1.270 which was called:
# once (29µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 33µs making 1 call to Class::C3::Componentised::BEGIN@1.270
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::City; | ||||
| 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::City | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 30µs | # spent 20µs (9+11) within Koha::Schema::Result::City::BEGIN@13 which was called:
# once (9µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::City::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
| 14 | 2 | 26µs | # spent 18µs (10+8) within Koha::Schema::Result::City::BEGIN@14 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::City::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 158µs | # spent 85µs (12+73) within Koha::Schema::Result::City::BEGIN@16 which was called:
# once (12µs+73µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::City::BEGIN@16
# spent 73µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<cities> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 374µs | __PACKAGE__->table("cities"); # spent 374µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 cityid | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 city_name | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | default_value: (empty string) | ||||
| 36 | is_nullable: 0 | ||||
| 37 | size: 100 | ||||
| 38 | |||||
| 39 | =head2 city_state | ||||
| 40 | |||||
| 41 | data_type: 'varchar' | ||||
| 42 | is_nullable: 1 | ||||
| 43 | size: 100 | ||||
| 44 | |||||
| 45 | =head2 city_country | ||||
| 46 | |||||
| 47 | data_type: 'varchar' | ||||
| 48 | is_nullable: 1 | ||||
| 49 | size: 100 | ||||
| 50 | |||||
| 51 | =head2 city_zipcode | ||||
| 52 | |||||
| 53 | data_type: 'varchar' | ||||
| 54 | is_nullable: 1 | ||||
| 55 | size: 20 | ||||
| 56 | |||||
| 57 | =cut | ||||
| 58 | |||||
| 59 | 1 | 2.27ms | __PACKAGE__->add_columns( # spent 2.27ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 60 | "cityid", | ||||
| 61 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 62 | "city_name", | ||||
| 63 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, | ||||
| 64 | "city_state", | ||||
| 65 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 66 | "city_country", | ||||
| 67 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 68 | "city_zipcode", | ||||
| 69 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
| 70 | ); | ||||
| 71 | |||||
| 72 | =head1 PRIMARY KEY | ||||
| 73 | |||||
| 74 | =over 4 | ||||
| 75 | |||||
| 76 | =item * L</cityid> | ||||
| 77 | |||||
| 78 | =back | ||||
| 79 | |||||
| 80 | =cut | ||||
| 81 | |||||
| 82 | 1 | 90µs | __PACKAGE__->set_primary_key("cityid"); # spent 90µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 83 | |||||
| 84 | |||||
| 85 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 86 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zEjfS65sp13yF7dH8/ojZQ | ||||
| 87 | |||||
| 88 | |||||
| 89 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 90 | 1; |