Torsten Raudssus > DBIx-Class-0.08204 > DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor

Download:
DBIx-Class-0.08204.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  12
Open  16
Stalled  12
View/Report Bugs
Source   Latest Release: DBIx-Class-0.082700_05

NAME ^

DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor - Remove trailing NULLs in binary data and normalize GUIDs for MSSQL over ADO

DESCRIPTION ^

This class is for removing trailing NULLs from binary data and removing braces from GUIDs retrieved from Microsoft SQL Server over ADO.

You probably don't want to be here, see DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server for information on the Microsoft SQL Server driver for ADO and DBIx::Class::Storage::DBI::MSSQL for the Microsoft SQL Server driver base class.

Unfortunately when using DBD::ADO, binary data comes back padded with trailing NULLs and GUIDs come back wrapped in braces, the purpose of this class is to remove the NULLs and braces. DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server sets cursor_class to this class by default. It is overridable via your connect_info.

You can use DBIx::Class::Cursor::Cached safely with this class and not lose the binary data normalizing functionality, ::Cursor::Cached uses the underlying class data for the inner cursor class.

AUTHOR ^

See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.

LICENSE ^

You may distribute this code under the same terms as Perl itself.

syntax highlighting: