Filename | /home/vagrant/kohaclone/Koha/Schema/Result/PendingOfflineOperation.pm |
Statements | Executed 12 statements in 467µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 28µs | BEGIN@1.83 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 84µs | BEGIN@16 | Koha::Schema::Result::PendingOfflineOperation::
1 | 1 | 1 | 10µs | 18µs | BEGIN@13 | Koha::Schema::Result::PendingOfflineOperation::
1 | 1 | 1 | 7µs | 13µs | BEGIN@14 | Koha::Schema::Result::PendingOfflineOperation::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 70µs | 2 | 31µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.83 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.83
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::PendingOfflineOperation; | ||||
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::PendingOfflineOperation | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 37µs | 2 | 27µs | # spent 18µs (10+9) within Koha::Schema::Result::PendingOfflineOperation::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::PendingOfflineOperation::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 34µs | 2 | 19µs | # spent 13µs (7+6) within Koha::Schema::Result::PendingOfflineOperation::BEGIN@14 which was called:
# once (7µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 13µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::BEGIN@14
# spent 6µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 233µs | 2 | 156µs | # spent 84µs (12+72) within Koha::Schema::Result::PendingOfflineOperation::BEGIN@16 which was called:
# once (12µs+72µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 84µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::BEGIN@16
# spent 72µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<pending_offline_operations> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 5.25ms | __PACKAGE__->table("pending_offline_operations"); # spent 5.25ms making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 operationid | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 userid | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_nullable: 0 | ||||
36 | size: 30 | ||||
37 | |||||
38 | =head2 branchcode | ||||
39 | |||||
40 | data_type: 'varchar' | ||||
41 | is_nullable: 0 | ||||
42 | size: 10 | ||||
43 | |||||
44 | =head2 timestamp | ||||
45 | |||||
46 | data_type: 'timestamp' | ||||
47 | datetime_undef_if_invalid: 1 | ||||
48 | default_value: current_timestamp | ||||
49 | is_nullable: 0 | ||||
50 | |||||
51 | =head2 action | ||||
52 | |||||
53 | data_type: 'varchar' | ||||
54 | is_nullable: 0 | ||||
55 | size: 10 | ||||
56 | |||||
57 | =head2 barcode | ||||
58 | |||||
59 | data_type: 'varchar' | ||||
60 | is_nullable: 1 | ||||
61 | size: 20 | ||||
62 | |||||
63 | =head2 cardnumber | ||||
64 | |||||
65 | data_type: 'varchar' | ||||
66 | is_nullable: 1 | ||||
67 | size: 16 | ||||
68 | |||||
69 | =head2 amount | ||||
70 | |||||
71 | data_type: 'decimal' | ||||
72 | is_nullable: 1 | ||||
73 | size: [28,6] | ||||
74 | |||||
75 | =cut | ||||
76 | |||||
77 | 1 | 44µs | 1 | 3.17ms | __PACKAGE__->add_columns( # spent 3.17ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
78 | "operationid", | ||||
79 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
80 | "userid", | ||||
81 | { data_type => "varchar", is_nullable => 0, size => 30 }, | ||||
82 | "branchcode", | ||||
83 | { data_type => "varchar", is_nullable => 0, size => 10 }, | ||||
84 | "timestamp", | ||||
85 | { | ||||
86 | data_type => "timestamp", | ||||
87 | datetime_undef_if_invalid => 1, | ||||
88 | default_value => \"current_timestamp", | ||||
89 | is_nullable => 0, | ||||
90 | }, | ||||
91 | "action", | ||||
92 | { data_type => "varchar", is_nullable => 0, size => 10 }, | ||||
93 | "barcode", | ||||
94 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
95 | "cardnumber", | ||||
96 | { data_type => "varchar", is_nullable => 1, size => 16 }, | ||||
97 | "amount", | ||||
98 | { data_type => "decimal", is_nullable => 1, size => [28, 6] }, | ||||
99 | ); | ||||
100 | |||||
101 | =head1 PRIMARY KEY | ||||
102 | |||||
103 | =over 4 | ||||
104 | |||||
105 | =item * L</operationid> | ||||
106 | |||||
107 | =back | ||||
108 | |||||
109 | =cut | ||||
110 | |||||
111 | 1 | 18µs | 1 | 84µs | __PACKAGE__->set_primary_key("operationid"); # spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
112 | |||||
113 | |||||
114 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
115 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hU8G7b8om2DKesFTwuGrJA | ||||
116 | |||||
117 | |||||
118 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
119 | 1 | 10µs | 1; |