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