NAME

DBIx::Custom::Transaction - Transaction

SYNOPSYS

use DBIx::Custom::Transaction
my $txn = DBIx::Custom::Transaction->new(dbi => DBIx::Custom->new);
$txn->run(sub { ... });

ATTRIBUTES

dbi

$self = $txn->dbi($dbi);
$dbi  = $txn->dbi;

METHODS

run

$txn->run(
    sub {
        # Transaction
    }
);