Helper/Schema/QuoteNames.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Helper/Row/SelfResultSet.pm ↑ Summary
1 package DBIx::Class::Helper::Schema::QuoteNames;
2 56 $DBIx::Class::Helper::Schema::QuoteNames::VERSION = '2.037000';
3 # ABSTRACT: force C<quote_names> on
4  
5 56 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 56 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 56 ▶use parent 'DBIx::Class::Schema';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 56 ▶use DBIx::Class::Helpers::Util 'normalize_connect_info';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 60 ▶sub connection {
Subroutine connection: called CC=1 SCAR=0.0
Pod documented
13 60 my $self = shift;
14  
15 60 my $args = normalize_connect_info(@_);
16 60 $args->{quote_names} = 1;
17  
18 60 $self->next::method($args)
19 }
20  
21 56 1;
22  
23 __END__
« Helper/Row/SelfResultSet.pm ↑ Summary