atk4\data\Persistence_SQL::atomic PHP 메소드

atomic() 공개 메소드

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.
public atomic ( callable $f ) : mixed
$f callable
리턴 mixed
    public function atomic($f)
    {
        return $this->connection->atomic($f);
    }