DBIx/Class/Storage/DBI/Sybase/MSSQL.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DBIx/Class/Storage/DBI/Oracle/WhereJoins.pm ↑ Summary
1 package DBIx::Class::Storage::DBI::Sybase::MSSQL;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use DBIx::Class::Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 carp 'Setting of storage_type is redundant as connections through DBD::Sybase'
10 .' are now properly recognized and reblessed into the appropriate subclass'
11 .' (DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server in the'
12 .' case of MSSQL). Please remove the explicit call to'
13 .q/ $schema->storage_type('::DBI::Sybase::MSSQL')/
14 .', as this storage class has been deprecated in favor of the autodetected'
15 .' ::DBI::Sybase::Microsoft_SQL_Server';
16  
17  
18 2 ▶use base qw/DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server/;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 2 1;
22  
23 =head1 NAME
24  
25 DBIx::Class::Storage::DBI::Sybase::MSSQL - (DEPRECATED) Legacy storage class for MSSQL via DBD::Sybase
26  
27 =head1 NOTE
28  
29 Connections through DBD::Sybase are now correctly recognized and reblessed
30 into the appropriate subclass (L<DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server>
31 in the case of MSSQL). Please remove the explicit storage_type setting from your
32 schema.
33  
34 =head1 SYNOPSIS
35  
36 This subclass supports MSSQL connected via L<DBD::Sybase>.
37  
38 $schema->storage_type('::DBI::Sybase::MSSQL');
39 $schema->connect_info('dbi:Sybase:....', ...);
40  
41 =head1 FURTHER QUESTIONS?
42  
43 Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
48 by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
49 redistribute it and/or modify it under the same terms as the
50 L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
« DBIx/Class/Storage/DBI/Oracle/WhereJoins.pm ↑ Summary