1 package DBIx::Class::Storage::DBI::Sybase;
6 use base qw/DBIx::Class::Storage::DBI::NoBindVars/;
9 int => qr/^ \-? \d+ $/x,
10 integer => qr/^ \-? \d+ $/x,
12 # TODO maybe need to add float/real/etc
15 sub should_quote_data_type {
17 my ($type, $value) = @_;
19 return $self->next::method(@_) if not defined $value;
21 if (my $re = $noquote->{$type}) {
22 return 0 if $value =~ $re;
25 return $self->next::method(@_);
32 DBIx::Class::Storage::DBI::Sybase - Storage::DBI subclass for Sybase
36 This subclass supports L<DBD::Sybase> for real Sybase databases. If
37 you are using an MSSQL database via L<DBD::Sybase>, see
38 L<DBIx::Class::Storage::DBI::Sybase::MSSQL>.
42 Brandon L Black <blblack@gmail.com>
46 You may distribute this code under the same terms as Perl itself.