| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/SavedSql.pm |
| Statements | Executed 12 statements in 308µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 26µs | 26µs | Class::C3::Componentised::BEGIN@1.2472 |
| 1 | 1 | 1 | 6µs | 6µs | Koha::Schema::Result::SavedSql::BEGIN@16 |
| 1 | 1 | 1 | 0s | 0s | Koha::Schema::Result::SavedSql::BEGIN@13 |
| 1 | 1 | 1 | 0s | 0s | Koha::Schema::Result::SavedSql::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 4µs | 2 | 26µs | # spent 26µs within Class::C3::Componentised::BEGIN@1.2472 which was called:
# once (26µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 26µs making 1 call to Class::C3::Componentised::BEGIN@1.2472
# spent 0s making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::SavedSql; | ||||
| 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::SavedSql | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 200ns | 2 | 0s | # spent 0s within Koha::Schema::Result::SavedSql::BEGIN@13 which was called:
# once (0s+0s) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 0s making 1 call to Koha::Schema::Result::SavedSql::BEGIN@13
# spent 0s making 1 call to strict::import |
| 14 | 2 | 200ns | 2 | 0s | # spent 0s within Koha::Schema::Result::SavedSql::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::SavedSql::BEGIN@14
# spent 0s making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 221µs | 2 | 6µs | # spent 6µs within Koha::Schema::Result::SavedSql::BEGIN@16 which was called:
# once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 6µs making 1 call to Koha::Schema::Result::SavedSql::BEGIN@16
# spent 0s making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<saved_sql> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 23µs | 1 | 364µs | __PACKAGE__->table("saved_sql"); # spent 364µ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 borrowernumber | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_nullable: 1 | ||||
| 36 | |||||
| 37 | =head2 date_created | ||||
| 38 | |||||
| 39 | data_type: 'datetime' | ||||
| 40 | datetime_undef_if_invalid: 1 | ||||
| 41 | is_nullable: 1 | ||||
| 42 | |||||
| 43 | =head2 last_modified | ||||
| 44 | |||||
| 45 | data_type: 'datetime' | ||||
| 46 | datetime_undef_if_invalid: 1 | ||||
| 47 | is_nullable: 1 | ||||
| 48 | |||||
| 49 | =head2 savedsql | ||||
| 50 | |||||
| 51 | data_type: 'text' | ||||
| 52 | is_nullable: 1 | ||||
| 53 | |||||
| 54 | =head2 last_run | ||||
| 55 | |||||
| 56 | data_type: 'datetime' | ||||
| 57 | datetime_undef_if_invalid: 1 | ||||
| 58 | is_nullable: 1 | ||||
| 59 | |||||
| 60 | =head2 report_name | ||||
| 61 | |||||
| 62 | data_type: 'varchar' | ||||
| 63 | default_value: (empty string) | ||||
| 64 | is_nullable: 0 | ||||
| 65 | size: 255 | ||||
| 66 | |||||
| 67 | =head2 type | ||||
| 68 | |||||
| 69 | data_type: 'varchar' | ||||
| 70 | is_nullable: 1 | ||||
| 71 | size: 255 | ||||
| 72 | |||||
| 73 | =head2 notes | ||||
| 74 | |||||
| 75 | data_type: 'text' | ||||
| 76 | is_nullable: 1 | ||||
| 77 | |||||
| 78 | =head2 cache_expiry | ||||
| 79 | |||||
| 80 | data_type: 'integer' | ||||
| 81 | default_value: 300 | ||||
| 82 | is_nullable: 0 | ||||
| 83 | |||||
| 84 | =head2 public | ||||
| 85 | |||||
| 86 | data_type: 'tinyint' | ||||
| 87 | default_value: 0 | ||||
| 88 | is_nullable: 0 | ||||
| 89 | |||||
| 90 | =head2 report_area | ||||
| 91 | |||||
| 92 | data_type: 'varchar' | ||||
| 93 | is_nullable: 1 | ||||
| 94 | size: 6 | ||||
| 95 | |||||
| 96 | =head2 report_group | ||||
| 97 | |||||
| 98 | data_type: 'varchar' | ||||
| 99 | is_nullable: 1 | ||||
| 100 | size: 80 | ||||
| 101 | |||||
| 102 | =head2 report_subgroup | ||||
| 103 | |||||
| 104 | data_type: 'varchar' | ||||
| 105 | is_nullable: 1 | ||||
| 106 | size: 80 | ||||
| 107 | |||||
| 108 | =cut | ||||
| 109 | |||||
| 110 | 1 | 29µs | 1 | 6.42ms | __PACKAGE__->add_columns( # spent 6.42ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 111 | "id", | ||||
| 112 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 113 | "borrowernumber", | ||||
| 114 | { data_type => "integer", is_nullable => 1 }, | ||||
| 115 | "date_created", | ||||
| 116 | { | ||||
| 117 | data_type => "datetime", | ||||
| 118 | datetime_undef_if_invalid => 1, | ||||
| 119 | is_nullable => 1, | ||||
| 120 | }, | ||||
| 121 | "last_modified", | ||||
| 122 | { | ||||
| 123 | data_type => "datetime", | ||||
| 124 | datetime_undef_if_invalid => 1, | ||||
| 125 | is_nullable => 1, | ||||
| 126 | }, | ||||
| 127 | "savedsql", | ||||
| 128 | { data_type => "text", is_nullable => 1 }, | ||||
| 129 | "last_run", | ||||
| 130 | { | ||||
| 131 | data_type => "datetime", | ||||
| 132 | datetime_undef_if_invalid => 1, | ||||
| 133 | is_nullable => 1, | ||||
| 134 | }, | ||||
| 135 | "report_name", | ||||
| 136 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
| 137 | "type", | ||||
| 138 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 139 | "notes", | ||||
| 140 | { data_type => "text", is_nullable => 1 }, | ||||
| 141 | "cache_expiry", | ||||
| 142 | { data_type => "integer", default_value => 300, is_nullable => 0 }, | ||||
| 143 | "public", | ||||
| 144 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 145 | "report_area", | ||||
| 146 | { data_type => "varchar", is_nullable => 1, size => 6 }, | ||||
| 147 | "report_group", | ||||
| 148 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
| 149 | "report_subgroup", | ||||
| 150 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
| 151 | ); | ||||
| 152 | |||||
| 153 | =head1 PRIMARY KEY | ||||
| 154 | |||||
| 155 | =over 4 | ||||
| 156 | |||||
| 157 | =item * L</id> | ||||
| 158 | |||||
| 159 | =back | ||||
| 160 | |||||
| 161 | =cut | ||||
| 162 | |||||
| 163 | 1 | 18µs | 1 | 85µs | __PACKAGE__->set_primary_key("id"); # spent 85µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 164 | |||||
| 165 | |||||
| 166 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 | ||||
| 167 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eGWRRzpe1+EBialePAIhMQ | ||||
| 168 | |||||
| 169 | |||||
| 170 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 171 | 1 | 12µs | 1; |