Fix some should_quote_data_type problems
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Sybase.pm
CommitLineData
3885cff6 1package DBIx::Class::Storage::DBI::Sybase;
2
3use strict;
4use warnings;
5
6use base qw/DBIx::Class::Storage::DBI::NoBindVars/;
7
00c937a2 8my %noquote = map { $_ => 1 } qw(int integer);
b50a5275 9
10sub should_quote_data_type {
11 my $self = shift;
12 my ($type) = @_;
13 return 0 if $noquote{$type};
14 return $self->next::method(@_);
15}
16
3885cff6 171;
18
19=head1 NAME
20
21DBIx::Class::Storage::DBI::Sybase - Storage::DBI subclass for Sybase
22
23=head1 SYNOPSIS
24
81092e2d 25This subclass supports L<DBD::Sybase> for real Sybase databases. If
26you are using an MSSQL database via L<DBD::Sybase>, see
27L<DBIx::Class::Storage::DBI::Sybase::MSSQL>.
3885cff6 28
29=head1 AUTHORS
30
31Brandon L Black <blblack@gmail.com>
32
33=head1 LICENSE
34
35You may distribute this code under the same terms as Perl itself.
36
37=cut