Filename | /home/vagrant/kohaclone/Koha/Schema/Result/PendingOfflineOperation.pm |
Statements | Executed 12 statements in 493µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 32µs | 36µs | BEGIN@1.2596 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 84µs | BEGIN@16 | Koha::Schema::Result::PendingOfflineOperation::
1 | 1 | 1 | 10µs | 20µs | BEGIN@13 | Koha::Schema::Result::PendingOfflineOperation::
1 | 1 | 1 | 9µs | 16µs | BEGIN@14 | Koha::Schema::Result::PendingOfflineOperation::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 80µs | 2 | 40µs | # spent 36µs (32+4) within Class::C3::Componentised::BEGIN@1.2596 which was called:
# once (32µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.2596
# spent 4µ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 | 40µs | 2 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::PendingOfflineOperation::BEGIN@13 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 38µs | 2 | 24µs | # spent 16µs (9+8) within Koha::Schema::Result::PendingOfflineOperation::BEGIN@14 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 253µs | 2 | 156µs | # spent 84µs (11+73) within Koha::Schema::Result::PendingOfflineOperation::BEGIN@16 which was called:
# once (11µs+73µ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 73µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<pending_offline_operations> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 30µs | 1 | 404µs | __PACKAGE__->table("pending_offline_operations"); # spent 404µs 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 | 25µs | 1 | 2.20ms | __PACKAGE__->add_columns( # spent 2.20ms 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 | 82µs | __PACKAGE__->set_primary_key("operationid"); # spent 82µ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; |