lib/MojoMojo/Schema/Base/Result.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/MojoMojo/Model/DBIC.pm ↑ Summary lib/MojoMojo/Schema/Base/ResultSet.pm »
1 package MojoMojo::Schema::Base::Result;
2  
3 40 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 40 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 40 ▶use parent qw/DBIx::Class/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 MojoMojo::Schema::Base::Result - base class for Result classes
10  
11 =head1 DESCRIPTION
12  
13 Base class for all result classes below the MojoMojo::Schema::Result::* namespace.
14  
15 =head1 LICENSE
16  
17 This library is free software. You can redistribute it and/or modify
18 it under the same terms as Perl itself.
19  
20 =head1 Methods
21  
22 =head2 sqlt_deploy_hook
23  
24 Set Database specific info to achieve UTF-8 support in the database we deploy to.
25  
26 =cut
27  
28 102 ▶sub sqlt_deploy_hook {
Subroutine sqlt_deploy_hook: called CC=1 SCAR=0.0
Pod documented
29 102 my ( $self, $sqlt_table ) = @_;
30 102 $sqlt_table->extra(
31 mysql_table_type => 'InnoDB',
32 mysql_charset => 'utf8'
33 );
34 }
35  
36 40 1;
« lib/MojoMojo/Model/DBIC.pm ↑ Summary lib/MojoMojo/Schema/Base/ResultSet.pm »