Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ExportFormat.pm |
Statements | Executed 12 statements in 480µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 150µs | 155µs | BEGIN@1.504 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 67µs | BEGIN@16 | Koha::Schema::Result::ExportFormat::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::ExportFormat::
1 | 1 | 1 | 9µs | 14µs | BEGIN@14 | Koha::Schema::Result::ExportFormat::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 80µs | 2 | 160µs | # spent 155µs (150+5) within Class::C3::Componentised::BEGIN@1.504 which was called:
# once (150µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 155µs making 1 call to Class::C3::Componentised::BEGIN@1.504
# spent 5µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::ExportFormat; | ||||
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::ExportFormat - Used for CSV export | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::ExportFormat::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::ExportFormat::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 36µs | 2 | 20µs | # spent 14µs (9+5) within Koha::Schema::Result::ExportFormat::BEGIN@14 which was called:
# once (9µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 14µs making 1 call to Koha::Schema::Result::ExportFormat::BEGIN@14
# spent 5µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 246µs | 2 | 124µs | # spent 67µs (11+57) within Koha::Schema::Result::ExportFormat::BEGIN@16 which was called:
# once (11µs+57µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 67µs making 1 call to Koha::Schema::Result::ExportFormat::BEGIN@16
# spent 57µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<export_format> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 21µs | 1 | 351µs | __PACKAGE__->table("export_format"); # spent 351µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 export_format_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 profile | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_nullable: 0 | ||||
36 | size: 255 | ||||
37 | |||||
38 | =head2 description | ||||
39 | |||||
40 | data_type: 'mediumtext' | ||||
41 | is_nullable: 0 | ||||
42 | |||||
43 | =head2 content | ||||
44 | |||||
45 | data_type: 'mediumtext' | ||||
46 | is_nullable: 0 | ||||
47 | |||||
48 | =head2 csv_separator | ||||
49 | |||||
50 | data_type: 'varchar' | ||||
51 | is_nullable: 0 | ||||
52 | size: 2 | ||||
53 | |||||
54 | =head2 field_separator | ||||
55 | |||||
56 | data_type: 'varchar' | ||||
57 | is_nullable: 0 | ||||
58 | size: 2 | ||||
59 | |||||
60 | =head2 subfield_separator | ||||
61 | |||||
62 | data_type: 'varchar' | ||||
63 | is_nullable: 0 | ||||
64 | size: 2 | ||||
65 | |||||
66 | =head2 encoding | ||||
67 | |||||
68 | data_type: 'varchar' | ||||
69 | is_nullable: 0 | ||||
70 | size: 255 | ||||
71 | |||||
72 | =head2 type | ||||
73 | |||||
74 | data_type: 'varchar' | ||||
75 | default_value: 'marc' | ||||
76 | is_nullable: 1 | ||||
77 | size: 255 | ||||
78 | |||||
79 | =cut | ||||
80 | |||||
81 | 1 | 27µs | 1 | 3.54ms | __PACKAGE__->add_columns( # spent 3.54ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
82 | "export_format_id", | ||||
83 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
84 | "profile", | ||||
85 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
86 | "description", | ||||
87 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
88 | "content", | ||||
89 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
90 | "csv_separator", | ||||
91 | { data_type => "varchar", is_nullable => 0, size => 2 }, | ||||
92 | "field_separator", | ||||
93 | { data_type => "varchar", is_nullable => 0, size => 2 }, | ||||
94 | "subfield_separator", | ||||
95 | { data_type => "varchar", is_nullable => 0, size => 2 }, | ||||
96 | "encoding", | ||||
97 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
98 | "type", | ||||
99 | { | ||||
100 | data_type => "varchar", | ||||
101 | default_value => "marc", | ||||
102 | is_nullable => 1, | ||||
103 | size => 255, | ||||
104 | }, | ||||
105 | ); | ||||
106 | |||||
107 | =head1 PRIMARY KEY | ||||
108 | |||||
109 | =over 4 | ||||
110 | |||||
111 | =item * L</export_format_id> | ||||
112 | |||||
113 | =back | ||||
114 | |||||
115 | =cut | ||||
116 | |||||
117 | 1 | 19µs | 1 | 90µs | __PACKAGE__->set_primary_key("export_format_id"); # spent 90µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
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:AJbxXXJBftCbSKm2E/ZTjA | ||||
122 | |||||
123 | |||||
124 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
125 | 1 | 13µs | 1; |