Commit | Line | Data |
---|---|---|
98464041 | 1 | package DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
2ad62d97 | 5 | |
528accab | 6 | use base qw/ |
26283ee3 | 7 | DBIx::Class::Storage::DBI::Sybase::Base |
5a77aa8b | 8 | DBIx::Class::Storage::DBI::MSSQL |
528accab | 9 | /; |
2ad62d97 | 10 | use mro 'c3'; |
98464041 | 11 | |
9b3dabe0 | 12 | sub _rebless { |
13 | my $self = shift; | |
9ae966b9 | 14 | my $dbh = $self->_get_dbh; |
7379eb67 | 15 | |
e33b954c | 16 | if (not $self->_typeless_placeholders_supported) { |
7379eb67 | 17 | bless $self, |
18 | 'DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars'; | |
19 | $self->_rebless; | |
20 | } | |
37b17a93 | 21 | } |
22 | ||
98464041 | 23 | 1; |
24 | ||
25 | =head1 NAME | |
26 | ||
5a77aa8b | 27 | DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Support for Microsoft |
28 | SQL Server via DBD::Sybase | |
98464041 | 29 | |
30 | =head1 SYNOPSIS | |
31 | ||
5608593e | 32 | This subclass supports MSSQL server connections via L<DBD::Sybase>. |
98464041 | 33 | |
7379eb67 | 34 | =head1 DESCRIPTION |
d4483998 | 35 | |
7379eb67 | 36 | This driver tries to determine whether your version of L<DBD::Sybase> and |
37 | supporting libraries (usually FreeTDS) support using placeholders, if not the | |
38 | storage will be reblessed to | |
39 | L<DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars>. | |
98464041 | 40 | |
7379eb67 | 41 | The MSSQL specific functionality is provided by |
42 | L<DBIx::Class::Storage::DBI::MSSQL>. | |
7e8cecc1 | 43 | |
5a77aa8b | 44 | =head1 AUTHOR |
98464041 | 45 | |
b7505130 | 46 | See L<DBIx::Class/CONTRIBUTORS>. |
98464041 | 47 | |
48 | =head1 LICENSE | |
49 | ||
50 | You may distribute this code under the same terms as Perl itself. | |
51 | ||
52 | =cut |