GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

DBIx::Class::Storage::Statistics - SQL Statistics

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.

Returns a new DBIx::Class::Storage::Statistics object.

Sets or retrieves the filehandle used for trace/debug output. This should be an IO::Handle compatible object (only the print method is used). By default it is initially set to STDERR - although see discussion of the DBIC_TRACE environment variable.

Invoked as a getter it will lazily open a filehandle and set it to autoflush (if one is not already set).

Prints the specified string to our debugging filehandle. Provided to save our methods the worry of how to display the message.

Turn off all output if set to true.

Called when a transaction begins.

Called when a transaction is rolled back.

Called when a transaction is committed.

Called when a savepoint is created.

Called when a savepoint is released.

Called when rolling back to a savepoint.

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.

Called when a query finishes executing. Has the same arguments as query_start.

Check the list of additional DBIC resources.

This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.
2020-03-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.