Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy/Table.pm |
Statements | Executed 1581 statements in 17.1ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 13.8ms | 65.5ms | table | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 330µs | 34.2ms | BEGIN@8 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 15µs | 23µs | BEGIN@3 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 10µs | 42µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 9µs | 101µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 9µs | 2.56ms | BEGIN@6 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 8µs | 13µs | BEGIN@4 | DBIx::Class::ResultSourceProxy::Table::
0 | 0 | 0 | 0s | 0s | _init_result_source_instance | DBIx::Class::ResultSourceProxy::Table::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package DBIx::Class::ResultSourceProxy::Table; | ||||
2 | |||||
3 | 2 | 83µs | 2 | 30µs | # spent 23µs (15+7) within DBIx::Class::ResultSourceProxy::Table::BEGIN@3 which was called:
# once (15µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 3 # spent 23µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@3
# spent 7µs making 1 call to strict::import |
4 | 2 | 34µs | 2 | 18µs | # spent 13µs (8+5) within DBIx::Class::ResultSourceProxy::Table::BEGIN@4 which was called:
# once (8µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 13µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@4
# spent 5µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 176µs | 2 | 2.56ms | # spent 2.56ms (9µs+2.55) within DBIx::Class::ResultSourceProxy::Table::BEGIN@6 which was called:
# once (9µs+2.55ms) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 2.56ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@6
# spent 2.55ms making 1 call to base::import, recursion: max depth 1, sum of overlapping time 2.55ms |
7 | |||||
8 | 2 | 169µs | 1 | 34.2ms | # spent 34.2ms (330µs+33.9) within DBIx::Class::ResultSourceProxy::Table::BEGIN@8 which was called:
# once (330µs+33.9ms) by Class::C3::Componentised::ensure_class_loaded at line 8 # spent 34.2ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@8 |
9 | 2 | 63µs | 2 | 75µs | # spent 42µs (10+32) within DBIx::Class::ResultSourceProxy::Table::BEGIN@9 which was called:
# once (10µs+32µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 42µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@9
# spent 32µs making 1 call to Exporter::import |
10 | 2 | 501µs | 2 | 193µs | # spent 101µs (9+92) within DBIx::Class::ResultSourceProxy::Table::BEGIN@10 which was called:
# once (9µs+92µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 101µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@10
# spent 92µs making 1 call to namespace::clean::import |
11 | |||||
12 | 1 | 21µs | 1 | 393µs | __PACKAGE__->mk_classdata(table_class => 'DBIx::Class::ResultSource::Table'); # spent 393µs making 1 call to DBIx::Class::mk_classdata |
13 | |||||
14 | 1 | 2µs | 1 | 302µs | __PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do # spent 302µs making 1 call to DBIx::Class::mk_classdata |
15 | # anything yet! | ||||
16 | |||||
17 | sub _init_result_source_instance { | ||||
18 | my $class = shift; | ||||
19 | |||||
20 | $class->mk_classdata('result_source_instance') | ||||
21 | unless $class->can('result_source_instance'); | ||||
22 | |||||
23 | my $table = $class->result_source_instance; | ||||
24 | my $class_has_table_instance = ($table and $table->result_class eq $class); | ||||
25 | return $table if $class_has_table_instance; | ||||
26 | |||||
27 | my $table_class = $class->table_class; | ||||
28 | $class->ensure_class_loaded($table_class); | ||||
29 | |||||
30 | if( $table ) { | ||||
31 | $table = $table_class->new({ | ||||
32 | %$table, | ||||
33 | result_class => $class, | ||||
34 | source_name => undef, | ||||
35 | schema => undef | ||||
36 | }); | ||||
37 | } | ||||
38 | else { | ||||
39 | $table = $table_class->new({ | ||||
40 | name => undef, | ||||
41 | result_class => $class, | ||||
42 | source_name => undef, | ||||
43 | }); | ||||
44 | } | ||||
45 | |||||
46 | $class->result_source_instance($table); | ||||
47 | |||||
48 | return $table; | ||||
49 | } | ||||
50 | |||||
51 | =head1 NAME | ||||
52 | |||||
53 | DBIx::Class::ResultSourceProxy::Table - provides a classdata table | ||||
54 | object and method proxies | ||||
55 | |||||
56 | =head1 SYNOPSIS | ||||
57 | |||||
58 | __PACKAGE__->table('cd'); | ||||
59 | __PACKAGE__->add_columns(qw/cdid artist title year/); | ||||
60 | __PACKAGE__->set_primary_key('cdid'); | ||||
61 | |||||
62 | =head1 METHODS | ||||
63 | |||||
64 | =head2 add_columns | ||||
65 | |||||
66 | __PACKAGE__->add_columns(qw/cdid artist title year/); | ||||
67 | |||||
68 | Adds columns to the current class and creates accessors for them. | ||||
69 | |||||
70 | =cut | ||||
71 | |||||
72 | =head2 table | ||||
73 | |||||
74 | __PACKAGE__->table('tbl_name'); | ||||
75 | |||||
76 | Gets or sets the table name. | ||||
77 | |||||
78 | =cut | ||||
79 | |||||
80 | # spent 65.5ms (13.8+51.7) within DBIx::Class::ResultSourceProxy::Table::table which was called 174 times, avg 376µs/call:
# once (95µs+5.14ms) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontract.pm
# once (71µs+631µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsApproval.pm
# once (217µs+388µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Session.pm
# once (108µs+381µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerDebarment.pm
# once (107µs+376µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchTransferLimit.pm
# once (105µs+368µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorBatch.pm
# once (100µs+351µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CategoriesBranch.pm
# once (86µs+362µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchpoint.pm
# once (97µs+341µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Reserve.pm
# once (125µs+305µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ServicesThrottle.pm
# once (80µs+331µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransport.pm
# once (78µs+325µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqorderUser.pm
# once (93µs+308µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqinvoice.pm
# once (80µs+321µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBatch.pm
# once (77µs+322µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsIndex.pm
# once (88µs+310µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branch.pm
# once (85µs+310µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (77µs+317µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBiblio.pm
# once (100µs+287µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqorder.pm
# once (89µs+297µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketuser.pm
# once (96µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Zebraqueue.pm
# once (73µs+310µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsMapping.pm
# once (84µs+299µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcMatcher.pm
# once (94µs+289µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Printer.pm
# once (91µs+290µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Browser.pm
# once (88µs+292µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (71µs+305µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchcheck.pm
# once (109µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldIssue.pm
# once (101µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (90µs+283µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchItemRule.pm
# once (75µs+295µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (81µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (76µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscription.pm
# once (80µs+289µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Borrower.pm
# once (81µs+287µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/HoldFillTarget.pm
# once (95µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (80µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Systempreference.pm
# once (94µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionhistory.pm
# once (94µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (82µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerModification.pm
# once (85µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Fieldmapping.pm
# once (96µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudget.pm
# once (80µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (90µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageQueue.pm
# once (99µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelve.pm
# once (81µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/City.pm
# once (81µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issue.pm
# once (82µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportAuth.pm
# once (77µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchrelation.pm
# once (74µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageDescription.pm
# once (81µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioitem.pm
# once (82µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Userflag.pm
# once (81µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (78µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedReport.pm
# once (97µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ActionLog.pm
# once (80µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serial.pm
# once (97µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronList.pm
# once (78µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (81µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (81µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountoffset.pm
# once (75µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issuingrule.pm
# once (81µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecord.pm
# once (76µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketgroup.pm
# once (78µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (76µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PrintersProfile.pm
# once (74µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthHeader.pm
# once (77µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (76µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PluginData.pm
# once (88µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (76µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldReserve.pm
# once (80µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (76µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblio.pm
# once (75µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Statistic.pm
# once (80µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSource.pm
# once (76µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseInstructor.pm
# once (77µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbookseller.pm
# once (76µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersTransfer.pm
# once (81µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (80µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (76µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Suggestion.pm
# once (79µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TransportCost.pm
# once (75µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchtransfer.pm
# once (76µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorLayout.pm
# once (82µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioimage.pm
# once (88µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Localization.pm
# once (79µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MiscFile.pm
# once (72µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValue.pm
# once (74µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontact.pm
# once (70µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Discharge.pm
# once (78µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Rating.pm
# once (76µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ReportsDictionary.pm
# once (75µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (79µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AudioAlert.pm
# once (77µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (78µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Tag.pm
# once (76µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Permission.pm
# once (74µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSet.pm
# once (77µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UserPermission.pm
# once (78µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (72µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseReserve.pm
# once (78µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (77µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (77µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseItem.pm
# once (78µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Letter.pm
# once (77µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (77µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfshare.pm
# once (73µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportItem.pm
# once (78µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransportType.pm
# once (76µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (78µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Z3950server.pm
# once (75µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Patronimage.pm
# once (73µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (75µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (71µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecordMatch.pm
# once (75µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Message.pm
# once (76µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthTagStructure.pm
# once (80µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Course.pm
# once (71µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (75µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (72µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcTagStructure.pm
# once (75µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Item.pm
# once (75µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Linktracker.pm
# once (74µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (75µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalField.pm
# once (74µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (62µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Alert.pm
# once (70µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deleteditem.pm
# once (68µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblio.pm
# once (74µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (74µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronListPatron.pm
# once (74µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountline.pm
# once (74µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (74µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Overduerule.pm
# once (74µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttribute.pm
# once (72µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasket.pm
# once (74µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 18 of Koha/Schema/Result/ActionLogs.pm
# once (72µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsSearchField.pm
# once (74µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Collection.pm
# once (73µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Notify.pm
# once (73µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorImage.pm
# once (74µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultCircRule.pm
# once (73µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SocialData.pm
# once (73µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Category.pm
# once (73µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CollectionsTracking.pm
# once (72µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Currency.pm
# once (74µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Quote.pm
# once (74µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Review.pm
# once (72µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Stopword.pm
# once (72µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchcategory.pm
# once (74µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorTemplate.pm
# once (69µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (72µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Itemtype.pm
# once (72µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponent.pm
# once (72µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthType.pm
# once (70µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ColumnsSetting.pm
# once (70µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/RepeatableHoliday.pm
# once (72µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BiblioFramework.pm
# once (72µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersItem.pm
# once (70µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagAll.pm
# once (70µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedborrower.pm
# once (69µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageAttribute.pm
# once (70µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UploadedFile.pm
# once (70µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsDescription.pm
# once (68µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerFile.pm
# once (71µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ExportFormat.pm
# once (70µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (72µs+230µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SearchHistory.pm
# once (68µs+233µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OpacNews.pm
# once (67µs+231µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSortRule.pm
# once (66µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (66µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerSync.pm
# once (56µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SpecialHoliday.pm
# once (47µs+198µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serialitem.pm
# once (51µs+190µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedSql.pm | ||||
81 | 174 | 215µs | my ($class, $table) = @_; | ||
82 | 174 | 93µs | return $class->result_source_instance->name unless $table; | ||
83 | |||||
84 | 174 | 1.33ms | 174 | 334µs | unless (blessed $table && $table->isa($class->table_class)) { # spent 334µs making 174 calls to Scalar::Util::blessed, avg 2µs/call |
85 | |||||
86 | 174 | 2.88ms | 174 | 18.7ms | my $table_class = $class->table_class; # spent 18.7ms making 174 calls to DBIx::Class::ResultSourceProxy::Table::table_class, avg 108µs/call |
87 | 174 | 1.50ms | 174 | 0s | $class->ensure_class_loaded($table_class); # spent 1.07ms making 174 calls to Class::C3::Componentised::ensure_class_loaded, avg 6µs/call, recursion: max depth 2, sum of overlapping time 1.07ms |
88 | |||||
89 | $table = $table_class->new({ | ||||
90 | $class->can('result_source_instance') | ||||
91 | 174 | 6.49ms | 348 | 5.17ms | ? %{$class->result_source_instance||{}} # spent 2.59ms making 174 calls to DBIx::Class::ResultSource::new, avg 15µs/call
# spent 2.58ms making 174 calls to UNIVERSAL::can, avg 15µs/call |
92 | : () | ||||
93 | , | ||||
94 | name => $table, | ||||
95 | result_class => $class, | ||||
96 | }); | ||||
97 | } | ||||
98 | |||||
99 | 174 | 1.98ms | 348 | 21.4ms | $class->mk_classdata('result_source_instance') # spent 21.1ms making 174 calls to DBIx::Class::mk_classdata, avg 121µs/call
# spent 352µs making 174 calls to UNIVERSAL::can, avg 2µs/call |
100 | unless $class->can('result_source_instance'); | ||||
101 | |||||
102 | 174 | 314µs | 174 | 3.44ms | $class->result_source_instance($table); # spent 51µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 37µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 37µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 37µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 31µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance |
103 | |||||
104 | 174 | 1.25ms | 176 | 1.53ms | return $class->result_source_instance->name; # spent 190µs making 1 call to DBIx::Class::ResultSource::name
# spent 30µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 14µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 2µs making 1 call to DBIx::Class::ResultSource::Table::name |
105 | } | ||||
106 | |||||
107 | =head2 table_class | ||||
108 | |||||
109 | __PACKAGE__->table_class('DBIx::Class::ResultSource::Table'); | ||||
110 | |||||
111 | Gets or sets the table class used for construction and validation. | ||||
112 | |||||
113 | =head2 has_column | ||||
114 | |||||
115 | if ($obj->has_column($col)) { ... } | ||||
116 | |||||
117 | Returns 1 if the class has a column of this name, 0 otherwise. | ||||
118 | |||||
119 | =head2 column_info | ||||
120 | |||||
121 | my $info = $obj->column_info($col); | ||||
122 | |||||
123 | Returns the column metadata hashref for a column. For a description of | ||||
124 | the various types of column data in this hashref, see | ||||
125 | L<DBIx::Class::ResultSource/add_column> | ||||
126 | |||||
127 | =head2 columns | ||||
128 | |||||
129 | my @column_names = $obj->columns; | ||||
130 | |||||
131 | =head1 FURTHER QUESTIONS? | ||||
132 | |||||
133 | Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. | ||||
134 | |||||
135 | =head1 COPYRIGHT AND LICENSE | ||||
136 | |||||
137 | This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> | ||||
138 | by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can | ||||
139 | redistribute it and/or modify it under the same terms as the | ||||
140 | L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. | ||||
141 | |||||
142 | =cut | ||||
143 | |||||
144 | 1 | 4µs | 1; | ||
145 | |||||
146 | 1 | 55µs | # spent 55µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |