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