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