Hi all!!!
I use transaction:
try {
$this->di->getDb()->begin();
$this->di->getDb()->execute('...');
$this->di->getDb()->execute('...');
$this->di->getDb()->commit();
} catch(Exception $e) {
$this->di->getDb()->rollback();
echo $e->getMessage();
}
falls exception: Uncaught exception 'Phalcon\Db\Exception' with message 'There is no active transaction'
in Postgres logs: 2013-12-18 20:15:09 TJT ОТМЕТКА: оператор: BEGIN 2013-12-18 20:15:09 TJT ОТМЕТКА: оператор: ROLLBACK
????