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