DBIx::Class::Storage::DBI - DBI storage handler
This class represents the connection to the database
Executes the sql statements given as a listref on every db connect.
Causes SQL trace information to be emitted on
debugfh filehandle (or
debugfh has not specifically been set).
Sets or retrieves the filehandle used for trace/debug output.
This should be an IO::Handle compatible object (only the
Sets a callback to be executed each time a statement is run; takes a sub reference. Overrides debugfh. Callback is executed as $sub->($op, $info) where $op is SELECT/INSERT/UPDATE/DELETE and $info is what would normally be printed.
Calls begin_work on the current dbh.
See DBIx::Class::Schema for the txn_do() method, which allows for an entire code block to be executed transactionally.
Issues a commit against the current dbh.
Issues a rollback against the current dbh. A nested rollback will throw a DBIx::Class::Storage::NESTED_ROLLBACK_EXCEPTION exception, which allows the rollback to propagate to the outermost transaction.
Returns database type info for a given table columns.
DBIX_CLASS_STORAGE_DBI_DEBUG is set then SQL trace information is produced (as when the debug method is set).
If the value is of the form
1=/path/name then the trace output is written to the file
Matt S. Trout <email@example.com>
Andy Grundman <firstname.lastname@example.org>
You may distribute this code under the same terms as Perl itself.