try not to fuck mssql with the sybase crap
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Sybase / Microsoft_SQL_Server.pm
1 package DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server;
2
3 use strict;
4 use warnings;
5
6 use base qw/
7   DBIx::Class::Storage::DBI::NoBindVars
8   DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server
9 /;
10
11 1;
12
13 =head1 NAME
14
15 DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Storage::DBI subclass for MSSQL via
16 DBD::Sybase
17
18 =head1 SYNOPSIS
19
20 This subclass supports MSSQL connected via L<DBD::Sybase>.
21
22   $schema->storage_type('::DBI::Sybase::Microsoft_SQL_Server');
23   $schema->connect_info('dbi:Sybase:....', ...);
24
25 =head1 CAVEATS
26
27 This storage driver uses L<DBIx::Class::Storage::DBI::NoBindVars> as a base.
28 This means that bind variables will be interpolated (properly quoted of course)
29 into the SQL query itself, without using bind placeholders.
30
31 More importantly this means that caching of prepared statements is explicitly
32 disabled, as the interpolation renders it useless.
33
34 =head1 AUTHORS
35
36 Brandon L Black <blblack@gmail.com>
37
38 Justin Hunter <justin.d.hunter@gmail.com>
39
40 =head1 LICENSE
41
42 You may distribute this code under the same terms as Perl itself.
43
44 =cut