| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Patronimage.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 30µs | Class::C3::Componentised::BEGIN@1.2037 |
| 1 | 1 | 1 | 11µs | 89µs | Koha::Schema::Result::Patronimage::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 16µs | Koha::Schema::Result::Patronimage::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 18µs | Koha::Schema::Result::Patronimage::BEGIN@13 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 33µs | # spent 30µs (27+3) within Class::C3::Componentised::BEGIN@1.2037 which was called:
# once (27µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2037
# spent 3µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::Patronimage; | ||||
| 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::Patronimage | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 27µs | # spent 18µs (10+9) within Koha::Schema::Result::Patronimage::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::Patronimage::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
| 14 | 2 | 22µs | # spent 16µs (10+6) within Koha::Schema::Result::Patronimage::BEGIN@14 which was called:
# once (10µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Patronimage::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 168µs | # spent 89µs (11+78) within Koha::Schema::Result::Patronimage::BEGIN@16 which was called:
# once (11µs+78µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 89µs making 1 call to Koha::Schema::Result::Patronimage::BEGIN@16
# spent 78µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<patronimage> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 381µs | __PACKAGE__->table("patronimage"); # spent 381µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 borrowernumber | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 mimetype | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 15 | ||||
| 37 | |||||
| 38 | =head2 imagefile | ||||
| 39 | |||||
| 40 | data_type: 'mediumblob' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | |||||
| 43 | =cut | ||||
| 44 | |||||
| 45 | 1 | 292µs | __PACKAGE__->add_columns( # spent 292µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 46 | "borrowernumber", | ||||
| 47 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 48 | "mimetype", | ||||
| 49 | { data_type => "varchar", is_nullable => 0, size => 15 }, | ||||
| 50 | "imagefile", | ||||
| 51 | { data_type => "mediumblob", is_nullable => 0 }, | ||||
| 52 | ); | ||||
| 53 | |||||
| 54 | =head1 PRIMARY KEY | ||||
| 55 | |||||
| 56 | =over 4 | ||||
| 57 | |||||
| 58 | =item * L</borrowernumber> | ||||
| 59 | |||||
| 60 | =back | ||||
| 61 | |||||
| 62 | =cut | ||||
| 63 | |||||
| 64 | 1 | 62µs | __PACKAGE__->set_primary_key("borrowernumber"); # spent 62µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 65 | |||||
| 66 | =head1 RELATIONS | ||||
| 67 | |||||
| 68 | =head2 borrowernumber | ||||
| 69 | |||||
| 70 | Type: belongs_to | ||||
| 71 | |||||
| 72 | Related object: L<Koha::Schema::Result::Borrower> | ||||
| 73 | |||||
| 74 | =cut | ||||
| 75 | |||||
| 76 | 1 | 354µs | __PACKAGE__->belongs_to( # spent 354µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 77 | "borrowernumber", | ||||
| 78 | "Koha::Schema::Result::Borrower", | ||||
| 79 | { borrowernumber => "borrowernumber" }, | ||||
| 80 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 81 | ); | ||||
| 82 | |||||
| 83 | |||||
| 84 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 85 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uuRGyWlemwOH1PCkvhqxdQ | ||||
| 86 | |||||
| 87 | |||||
| 88 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 89 | 1; |