Exemple #1
0
 /**
  * Atomic executes operations within one begin/end transaction, so if
  * the code inside callback will fail, then all of the transaction
  * will be also rolled back.
  *
  * @param callable $f
  *
  * @return mixed
  */
 public function atomic($f)
 {
     return $this->connection->atomic($f);
 }