DBIx::Class::Storage::DBI::Sybase::FreeTDS - Base class for drivers using DBD::Sybase over FreeTDS.
This is the base class for Storages designed to work with DBD::Sybase over FreeTDS.
It is a subclass of DBIx::Class::Storage::DBI::Sybase.
When using DBD::Sybase with FreeTDS, $dbh->{LongReadLen} is not available, use this function instead. It does:
$dbh->{LongReadLen}
$dbh->do("SET TEXTSIZE $bytes");
Takes the number of bytes, or uses the LongReadLen value from your connect_info if omitted, lastly falls back to the 32768 which is the DBD::Sybase default.
LongReadLen
32768
See "CONTRIBUTORS" in DBIx::Class.
You may distribute this code under the same terms as Perl itself.
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.