Tyler MacDonald > DBIx-Transaction-1.100 > DBIx::Transaction::st

Download:
DBIx-Transaction-1.100.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

DBIx::Transaction::st - Statement handle when running under DBIx::Transaction

DESCRIPTION ^

When you connect to a database using DBIx::Transaction, your statement handles will be DBIx::Transaction::st objects. When these statement handles are executed, DBIx::Transaction::st will notice when query errors occur, and let the database handle know. See the commit() method in DBIx::Transaction::db for more information.

METHODS ^

DBIx::Transaction::st only overrides one standard DBI::st method:

execute

Calls execute on the underlying database layer. If an error occurs, this is recorded and you will not be able to issue a commit for the current transaction.

SEE ALSO ^

DBI, DBIx::Transaction

syntax highlighting: