/**
  * Salva a transação em andamento.
  *
  * @return Driver : fluent interface
  */
 public function commit()
 {
     $this->connection->commit();
     return $this;
 }
Exemple #2
0
 /**
  * Commit all pending queries and finalise the transaction
  */
 public function finishTransaction()
 {
     $this->dbc->commit();
     $this->dbc->autocommit(true);
 }