Filename | /home/vagrant/kohaclone/Koha/Schema/Result/UploadedFile.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 31µs | 35µs | BEGIN@1.1907 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 22µs | BEGIN@13 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 10µs | 90µs | BEGIN@16 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 10µs | 18µs | BEGIN@14 | Koha::Schema::Result::UploadedFile::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 39µs | # spent 35µs (31+4) within Class::C3::Componentised::BEGIN@1.1907 which was called:
# once (31µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 35µs making 1 call to Class::C3::Componentised::BEGIN@1.1907
# spent 4µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::UploadedFile; | ||||
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::UploadedFile | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 35µs | # spent 22µs (10+12) within Koha::Schema::Result::UploadedFile::BEGIN@13 which was called:
# once (10µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@13
# spent 12µs making 1 call to strict::import | ||
14 | 2 | 27µs | # spent 18µs (10+8) within Koha::Schema::Result::UploadedFile::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::UploadedFile::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 171µs | # spent 90µs (10+80) within Koha::Schema::Result::UploadedFile::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::UploadedFile::BEGIN@16
# spent 80µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<uploaded_files> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 336µs | __PACKAGE__->table("uploaded_files"); # spent 336µ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 hashvalue | ||||
33 | |||||
34 | data_type: 'char' | ||||
35 | is_nullable: 0 | ||||
36 | size: 40 | ||||
37 | |||||
38 | =head2 filename | ||||
39 | |||||
40 | data_type: 'text' | ||||
41 | is_nullable: 0 | ||||
42 | |||||
43 | =head2 dir | ||||
44 | |||||
45 | data_type: 'text' | ||||
46 | is_nullable: 0 | ||||
47 | |||||
48 | =head2 filesize | ||||
49 | |||||
50 | data_type: 'integer' | ||||
51 | is_nullable: 1 | ||||
52 | |||||
53 | =head2 dtcreated | ||||
54 | |||||
55 | data_type: 'timestamp' | ||||
56 | datetime_undef_if_invalid: 1 | ||||
57 | default_value: current_timestamp | ||||
58 | is_nullable: 0 | ||||
59 | |||||
60 | =head2 uploadcategorycode | ||||
61 | |||||
62 | data_type: 'tinytext' | ||||
63 | is_nullable: 1 | ||||
64 | |||||
65 | =head2 owner | ||||
66 | |||||
67 | data_type: 'integer' | ||||
68 | is_nullable: 1 | ||||
69 | |||||
70 | =head2 public | ||||
71 | |||||
72 | data_type: 'tinyint' | ||||
73 | is_nullable: 1 | ||||
74 | |||||
75 | =head2 permanent | ||||
76 | |||||
77 | data_type: 'tinyint' | ||||
78 | is_nullable: 1 | ||||
79 | |||||
80 | =cut | ||||
81 | |||||
82 | 1 | 4.74ms | __PACKAGE__->add_columns( # spent 4.74ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
83 | "id", | ||||
84 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
85 | "hashvalue", | ||||
86 | { data_type => "char", is_nullable => 0, size => 40 }, | ||||
87 | "filename", | ||||
88 | { data_type => "text", is_nullable => 0 }, | ||||
89 | "dir", | ||||
90 | { data_type => "text", is_nullable => 0 }, | ||||
91 | "filesize", | ||||
92 | { data_type => "integer", is_nullable => 1 }, | ||||
93 | "dtcreated", | ||||
94 | { | ||||
95 | data_type => "timestamp", | ||||
96 | datetime_undef_if_invalid => 1, | ||||
97 | default_value => \"current_timestamp", | ||||
98 | is_nullable => 0, | ||||
99 | }, | ||||
100 | "uploadcategorycode", | ||||
101 | { data_type => "tinytext", is_nullable => 1 }, | ||||
102 | "owner", | ||||
103 | { data_type => "integer", is_nullable => 1 }, | ||||
104 | "public", | ||||
105 | { data_type => "tinyint", is_nullable => 1 }, | ||||
106 | "permanent", | ||||
107 | { data_type => "tinyint", is_nullable => 1 }, | ||||
108 | ); | ||||
109 | |||||
110 | =head1 PRIMARY KEY | ||||
111 | |||||
112 | =over 4 | ||||
113 | |||||
114 | =item * L</id> | ||||
115 | |||||
116 | =back | ||||
117 | |||||
118 | =cut | ||||
119 | |||||
120 | 1 | 86µs | __PACKAGE__->set_primary_key("id"); # spent 86µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
121 | |||||
122 | |||||
123 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-25 15:20:07 | ||||
124 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cq/HSuTaBxZH2qSGEddoaQ | ||||
125 | |||||
126 | |||||
127 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
128 | 1; |