| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/TagAll.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 28µs | Class::C3::Componentised::BEGIN@1.1239 |
| 1 | 1 | 1 | 11µs | 20µs | Koha::Schema::Result::TagAll::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 83µs | Koha::Schema::Result::TagAll::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::TagAll::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 32µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.1239 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.1239
# spent 3µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::TagAll; | ||||
| 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::TagAll | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 29µs | # spent 20µs (11+9) within Koha::Schema::Result::TagAll::BEGIN@13 which was called:
# once (11µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::TagAll::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
| 14 | 2 | 23µs | # spent 16µs (9+7) within Koha::Schema::Result::TagAll::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::TagAll::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 156µs | # spent 83µs (10+73) within Koha::Schema::Result::TagAll::BEGIN@16 which was called:
# once (10µs+73µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 83µs making 1 call to Koha::Schema::Result::TagAll::BEGIN@16
# spent 73µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<tags_all> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 326µs | __PACKAGE__->table("tags_all"); # spent 326µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 tag_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 borrowernumber | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_foreign_key: 1 | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =head2 biblionumber | ||||
| 39 | |||||
| 40 | data_type: 'integer' | ||||
| 41 | is_foreign_key: 1 | ||||
| 42 | is_nullable: 0 | ||||
| 43 | |||||
| 44 | =head2 term | ||||
| 45 | |||||
| 46 | data_type: 'varchar' | ||||
| 47 | is_nullable: 0 | ||||
| 48 | size: 255 | ||||
| 49 | |||||
| 50 | =head2 language | ||||
| 51 | |||||
| 52 | data_type: 'integer' | ||||
| 53 | is_nullable: 1 | ||||
| 54 | |||||
| 55 | =head2 date_created | ||||
| 56 | |||||
| 57 | data_type: 'datetime' | ||||
| 58 | datetime_undef_if_invalid: 1 | ||||
| 59 | is_nullable: 0 | ||||
| 60 | |||||
| 61 | =cut | ||||
| 62 | |||||
| 63 | 1 | 2.67ms | __PACKAGE__->add_columns( # spent 2.67ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 64 | "tag_id", | ||||
| 65 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 66 | "borrowernumber", | ||||
| 67 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 68 | "biblionumber", | ||||
| 69 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 70 | "term", | ||||
| 71 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 72 | "language", | ||||
| 73 | { data_type => "integer", is_nullable => 1 }, | ||||
| 74 | "date_created", | ||||
| 75 | { | ||||
| 76 | data_type => "datetime", | ||||
| 77 | datetime_undef_if_invalid => 1, | ||||
| 78 | is_nullable => 0, | ||||
| 79 | }, | ||||
| 80 | ); | ||||
| 81 | |||||
| 82 | =head1 PRIMARY KEY | ||||
| 83 | |||||
| 84 | =over 4 | ||||
| 85 | |||||
| 86 | =item * L</tag_id> | ||||
| 87 | |||||
| 88 | =back | ||||
| 89 | |||||
| 90 | =cut | ||||
| 91 | |||||
| 92 | 1 | 80µs | __PACKAGE__->set_primary_key("tag_id"); # spent 80µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 93 | |||||
| 94 | =head1 RELATIONS | ||||
| 95 | |||||
| 96 | =head2 biblionumber | ||||
| 97 | |||||
| 98 | Type: belongs_to | ||||
| 99 | |||||
| 100 | Related object: L<Koha::Schema::Result::Biblio> | ||||
| 101 | |||||
| 102 | =cut | ||||
| 103 | |||||
| 104 | 1 | 372µs | __PACKAGE__->belongs_to( # spent 372µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 105 | "biblionumber", | ||||
| 106 | "Koha::Schema::Result::Biblio", | ||||
| 107 | { biblionumber => "biblionumber" }, | ||||
| 108 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 109 | ); | ||||
| 110 | |||||
| 111 | =head2 borrowernumber | ||||
| 112 | |||||
| 113 | Type: belongs_to | ||||
| 114 | |||||
| 115 | Related object: L<Koha::Schema::Result::Borrower> | ||||
| 116 | |||||
| 117 | =cut | ||||
| 118 | |||||
| 119 | 1 | 196µs | __PACKAGE__->belongs_to( # spent 196µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 120 | "borrowernumber", | ||||
| 121 | "Koha::Schema::Result::Borrower", | ||||
| 122 | { borrowernumber => "borrowernumber" }, | ||||
| 123 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 124 | ); | ||||
| 125 | |||||
| 126 | |||||
| 127 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 128 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xhJn9d2lS8crFWog28ENnw | ||||
| 129 | |||||
| 130 | |||||
| 131 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 132 | 1; |