1 package # hide from PAUSE
2 DBIx::Class::Storage::DBI::Sybase::Base;
7 use base qw/DBIx::Class::Storage::DBI/;
12 DBIx::Class::Storage::DBI::Sybase::Base - Common functionality for drivers using
20 my $dbh = $self->_dbh or return 0;
22 local $dbh->{RaiseError} = 1;
30 sub _placeholders_supported {
32 my $dbh = $self->last_dbh;
35 # There's also $dbh->{syb_dynamic_supported} but it can be inaccurate for this
37 local $dbh->{PrintError} = 0;
38 local $dbh->{RaiseError} = 1;
39 # this specifically tests a bind that is NOT a string
40 $dbh->selectrow_array('select 1 where 1 = ?', {}, 1);
48 See L<DBIx::Class/CONTRIBUTORS>.
52 You may distribute this code under the same terms as Perl itself.