Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbix::class::storage::statistics(3) [osx man page]

DBIx::Class::Storage::Statistics(3)			User Contributed Perl Documentation		       DBIx::Class::Storage::Statistics(3)

DBIx::Class::Storage::Statistics - SQL Statistics SYNOPSIS
This class is called by DBIx::Class::Storage::DBI as a means of collecting statistics on its actions. Using this class alone merely prints the SQL executed, the fact that it completes and begin/end notification for transactions. To really use this class you should subclass it and create your own method for collecting the statistics as discussed in DBIx::Class::Manual::Cookbook. METHODS
new Returns a new DBIx::Class::Storage::Statistics object. debugfh Sets or retrieves the filehandle used for trace/debug output. This should be an IO::Handle compatible object (only the "print" method is used). Initially should be set to STDERR - although see information on the DBIC_TRACE environment variable. As getter it will lazily open a filehandle for you if one is not already set. print Prints the specified string to our debugging filehandle. Provided to save our methods the worry of how to display the message. silence Turn off all output if set to true. txn_begin Called when a transaction begins. txn_rollback Called when a transaction is rolled back. txn_commit Called when a transaction is committed. svp_begin Called when a savepoint is created. svp_release Called when a savepoint is released. svp_rollback Called when rolling back to a savepoint. query_start Called before a query is executed. The first argument is the SQL string being executed and subsequent arguments are the parameters used for the query. query_end Called when a query finishes executing. Has the same arguments as query_start. AUTHORS
Cory G. Watson <> LICENSE
You may distribute this code under the same license as Perl itself. perl v5.16.2 2012-10-18 DBIx::Class::Storage::Statistics(3)

Check Out this Related Man Page

DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::CuUser(Contributed Perl DocumDBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor(3)

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 "NULL"s 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 "NULL"s and GUIDs come back wrapped in braces, the purpose of this class is to remove the "NULL"s 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. perl v5.16.2 2012-08-23 DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor(3)
Man Page

Featured Tech Videos