Hi, kim
Yes, you can use transactions like that, the methods are on the
OutletConnection object. Here is how to do it:
$con = $outlet->getConnection();
$con->beginTransaction();
try {
// run your code
$con->commit();
} catch (Exception $e) {
$con->rollback();
}
Those calls are delegated straight to the PDO object if it supports
them, or for some drivers they are emulated running actual query.
Either way, that should work.
Alvaro