Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy/Table.pm |
Statements | Executed 1581 statements in 22.8ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 19.7ms | 73.8ms | table | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 304µs | 34.2ms | BEGIN@8 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 16µs | 53µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 15µs | 22µs | BEGIN@3 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 10µs | 124µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 9µs | 2.67ms | BEGIN@6 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 8µs | 12µ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 | 37µs | 2 | 29µs | # spent 22µ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 22µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@3
# spent 7µs making 1 call to strict::import |
4 | 2 | 32µs | 2 | 16µs | # spent 12µs (8+4) within DBIx::Class::ResultSourceProxy::Table::BEGIN@4 which was called:
# once (8µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 12µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@4
# spent 4µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 155µs | 2 | 2.67ms | # spent 2.67ms (9µs+2.66) within DBIx::Class::ResultSourceProxy::Table::BEGIN@6 which was called:
# once (9µs+2.66ms) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 2.67ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@6
# spent 2.66ms making 1 call to base::import, recursion: max depth 1, sum of overlapping time 2.66ms |
7 | |||||
8 | 2 | 193µs | 1 | 34.2ms | # spent 34.2ms (304µs+33.9) within DBIx::Class::ResultSourceProxy::Table::BEGIN@8 which was called:
# once (304µ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 | 72µs | 2 | 90µs | # spent 53µs (16+36) within DBIx::Class::ResultSourceProxy::Table::BEGIN@9 which was called:
# once (16µs+36µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 53µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@9
# spent 36µs making 1 call to Exporter::import |
10 | 2 | 533µs | 2 | 238µs | # spent 124µs (10+114) within DBIx::Class::ResultSourceProxy::Table::BEGIN@10 which was called:
# once (10µs+114µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 124µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@10
# spent 114µs making 1 call to namespace::clean::import |
11 | |||||
12 | 1 | 6µs | 1 | 496µs | __PACKAGE__->mk_classdata(table_class => 'DBIx::Class::ResultSource::Table'); # spent 496µs making 1 call to DBIx::Class::mk_classdata |
13 | |||||
14 | 1 | 2µs | 1 | 311µs | __PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do # spent 311µ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 73.8ms (19.7+54.1) within DBIx::Class::ResultSourceProxy::Table::table which was called 174 times, avg 424µs/call:
# once (4.93ms+319µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (83µs+4.95ms) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TransportCost.pm
# once (79µs+892µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValue.pm
# once (90µs+692µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioimage.pm
# once (85µs+525µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttribute.pm
# once (140µs+468µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Borrower.pm
# once (135µs+462µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PrintersProfile.pm
# once (142µs+403µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Printer.pm
# once (132µs+388µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (118µs+400µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UserPermission.pm
# once (130µs+370µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorTemplate.pm
# once (96µs+394µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (97µs+385µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalField.pm
# once (115µs+362µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Discharge.pm
# once (144µs+325µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/HoldFillTarget.pm
# once (103µs+357µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (84µs+376µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (161µs+291µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Collection.pm
# once (91µs+359µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UploadedFile.pm
# once (86µs+358µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (92µs+350µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponent.pm
# once (139µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblio.pm
# once (83µs+350µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountoffset.pm
# once (94µs+335µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Tag.pm
# once (103µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SpecialHoliday.pm
# once (99µs+321µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudget.pm
# once (86µs+332µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/City.pm
# once (79µs+338µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchcheck.pm
# once (101µs+310µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Statistic.pm
# once (86µs+326µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Suggestion.pm
# once (89µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelve.pm
# once (81µs+326µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqorder.pm
# once (108µs+297µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketuser.pm
# once (92µs+311µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Item.pm
# once (136µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronList.pm
# once (96µs+303µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (96µs+301µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontract.pm
# once (95µs+299µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (91µs+301µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerModification.pm
# once (105µs+285µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (93µs+296µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (86µs+302µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Session.pm
# once (82µs+305µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (94µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasket.pm
# once (87µs+300µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OpacNews.pm
# once (76µs+309µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagAll.pm
# once (90µs+292µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CollectionsTracking.pm
# once (87µs+295µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (86µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CategoriesBranch.pm
# once (97µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchcategory.pm
# once (87µs+293µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldIssue.pm
# once (86µs+293µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSet.pm
# once (89µs+290µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Linktracker.pm
# once (107µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (89µs+289µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (91µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqorderUser.pm
# once (90µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issue.pm
# once (89µs+287µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Letter.pm
# once (88µs+285µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchpoint.pm
# once (88µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqinvoice.pm
# once (86µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Notify.pm
# once (95µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branch.pm
# once (82µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedborrower.pm
# once (86µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchtransfer.pm
# once (87µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchTransferLimit.pm
# once (84µs+283µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (86µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PluginData.pm
# once (114µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportItem.pm
# once (92µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsSearchField.pm
# once (90µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedSql.pm
# once (80µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SearchHistory.pm
# once (80µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/RepeatableHoliday.pm
# once (87µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthTagStructure.pm
# once (91µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBatch.pm
# once (82µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Permission.pm
# once (78µs+283µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Userflag.pm
# once (85µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Review.pm
# once (86µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransportType.pm
# once (74µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblio.pm
# once (86µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (85µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SocialData.pm
# once (85µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthType.pm
# once (90µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (80µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Browser.pm
# once (75µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ActionLog.pm
# once (104µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageAttribute.pm
# once (88µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Reserve.pm
# once (80µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerDebarment.pm
# once (77µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (85µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (82µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscription.pm
# once (83µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (84µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontact.pm
# once (78µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MiscFile.pm
# once (84µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (82µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Category.pm
# once (76µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ExportFormat.pm
# once (73µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportAuth.pm
# once (83µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Z3950server.pm
# once (82µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Course.pm
# once (78µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (97µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (83µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (78µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsApproval.pm
# once (85µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Itemtype.pm
# once (79µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcMatcher.pm
# once (83µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseInstructor.pm
# once (81µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (82µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerSync.pm
# once (79µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountline.pm
# once (78µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Message.pm
# once (81µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Alert.pm
# once (80µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Systempreference.pm
# once (82µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ServicesThrottle.pm
# once (77µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (83µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (82µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Localization.pm
# once (98µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issuingrule.pm
# once (82µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (79µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorLayout.pm
# once (88µs+250µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Currency.pm
# once (82µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbookseller.pm
# once (82µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersTransfer.pm
# once (81µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (79µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersItem.pm
# once (80µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBiblio.pm
# once (77µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (78µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcTagStructure.pm
# once (80µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionhistory.pm
# once (77µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (78µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageDescription.pm
# once (81µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deleteditem.pm
# once (79µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsIndex.pm
# once (81µs+250µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioitem.pm
# once (75µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronListPatron.pm
# once (81µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AudioAlert.pm
# once (76µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageQueue.pm
# once (80µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchrelation.pm
# once (79µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ReportsDictionary.pm
# once (78µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorImage.pm
# once (79µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Rating.pm
# once (77µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (77µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Zebraqueue.pm
# once (76µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSource.pm
# once (78µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorBatch.pm
# once (80µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Overduerule.pm
# once (72µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serialitem.pm
# once (76µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfshare.pm
# once (77µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BiblioFramework.pm
# once (74µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSortRule.pm
# once (76µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (62µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketgroup.pm
# once (78µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsMapping.pm
# once (76µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsDescription.pm
# once (76µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (74µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerFile.pm
# once (76µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchItemRule.pm
# once (76µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldReserve.pm
# once (76µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransport.pm
# once (75µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Fieldmapping.pm
# once (74µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Stopword.pm
# once (76µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ColumnsSetting.pm
# once (71µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (73µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultCircRule.pm
# once (71µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedReport.pm
# once (72µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Quote.pm
# once (60µs+217µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Patronimage.pm
# once (68µs+194µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseReserve.pm
# once (58µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecordMatch.pm
# once (55µs+182µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseItem.pm
# once (47µs+163µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serial.pm
# once (21µs+167µs) by Class::C3::Componentised::ensure_class_loaded at line 18 of Koha/Schema/Result/ActionLogs.pm
# once (34µs+152µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthHeader.pm
# once (43µs+136µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecord.pm | ||||
81 | 174 | 174µs | my ($class, $table) = @_; | ||
82 | 174 | 77µs | return $class->result_source_instance->name unless $table; | ||
83 | |||||
84 | 174 | 1.29ms | 174 | 398µs | unless (blessed $table && $table->isa($class->table_class)) { # spent 398µs making 174 calls to Scalar::Util::blessed, avg 2µs/call |
85 | |||||
86 | 174 | 2.85ms | 174 | 14.3ms | my $table_class = $class->table_class; # spent 14.3ms making 174 calls to DBIx::Class::ResultSourceProxy::Table::table_class, avg 82µs/call |
87 | 174 | 1.80ms | 174 | 0s | $class->ensure_class_loaded($table_class); # spent 1.03ms making 174 calls to Class::C3::Componentised::ensure_class_loaded, avg 6µs/call, recursion: max depth 2, sum of overlapping time 1.03ms |
88 | |||||
89 | $table = $table_class->new({ | ||||
90 | $class->can('result_source_instance') | ||||
91 | 174 | 6.84ms | 348 | 5.48ms | ? %{$class->result_source_instance||{}} # spent 2.93ms making 174 calls to DBIx::Class::ResultSource::new, avg 17µs/call
# spent 2.55ms making 174 calls to UNIVERSAL::can, avg 15µs/call |
92 | : () | ||||
93 | , | ||||
94 | name => $table, | ||||
95 | result_class => $class, | ||||
96 | }); | ||||
97 | } | ||||
98 | |||||
99 | 174 | 7.14ms | 348 | 27.7ms | $class->mk_classdata('result_source_instance') # spent 27.3ms making 174 calls to DBIx::Class::mk_classdata, avg 157µs/call
# spent 387µs making 174 calls to UNIVERSAL::can, avg 2µs/call |
100 | unless $class->can('result_source_instance'); | ||||
101 | |||||
102 | 174 | 319µs | 174 | 3.65ms | $class->result_source_instance($table); # spent 87µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 57µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 57µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 56µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 50µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 40µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 35µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 35µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 34µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 33µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 32µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::BranchTransferLimit::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::Virtualshelve::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::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::Notify::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::CreatorTemplate::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::ActionLog::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::HoldFillTarget::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::LanguageScriptBidi::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MessageTransportType::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::AuthorisedValuesBranch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Review::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::SavedSql::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::Itemtype::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Matchcheck::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::PatronListPatron::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Deletedborrower::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::SocialData::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::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::Quote::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Browser::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::Deleteditem::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::Reserve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Alert::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::Serialitem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::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::Branchcategory::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::MarcTagStructure::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Biblioitem::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::ImportAuth::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ImportRecordMatch::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::OaiSetsDescription::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ColumnsSetting::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::CourseItem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 900ns making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance |
103 | |||||
104 | 174 | 1.27ms | 176 | 1.56ms | return $class->result_source_instance->name; # spent 190µs making 1 call to DBIx::Class::ResultSource::name
# spent 40µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 14µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::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::AqordersItem::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::DefaultBorrowerCircRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Item::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::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::Session::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::Aqbudget::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::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::Notify::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::DefaultBranchItemRule::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::Issue::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::NeedMergeAuthority::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::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::AuthorisedValuesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerModification::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::Discharge::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::MarcModificationTemplate::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::OaiSet::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchrelation::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::HoldFillTarget::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::ItemsLastBorrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ActionLog::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::AqbudgetsPlanning::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::Branchcategory::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::Matchcheck::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Message::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::Review::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::Z3950server::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::Aqbudgetperiod::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::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::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Letter::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::Overduerule::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::Reserve::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::Suggestion::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Systempreference::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::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::Aqcontract::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::BorrowerAttributeType::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::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::CreatorBatch::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::ItemsSearchField::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::MatchpointComponentNorm::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::OldReserve::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::TagsIndex::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::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::Zebraqueue::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::Aqinvoice::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::BorrowerFile::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::Currency::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::ImportItem::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::OaiSetsDescription::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::Serialitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagAll::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::AudioAlert::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PatronList::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::Aqbookseller::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::Rating::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Itemtype::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 | 59µs | # spent 59µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |