src/EntityManager.php
public function commit()
    {
        $this->driver->inTransaction(
            function (Driver $driver, array $pendingQueries) {
                /** @var PendingQuery[] $pendingQueries */
                foreach ($pendingQueries as $item) {
                    $item->execute();
                }
            },
            $this->pendingQueries
        );
        $this->pendingQueries = [];
    }
public function commit()
    {
        $this->driver->inTransaction(
            function (Driver $driver, array $pendingQueries) {
                /** @var PendingQuery[] $pendingQueries */
                foreach ($pendingQueries as $item) {
                    $item->execute();
                }
            },
            $this->pendingQueries
        );
        $this->pendingQueries = [];
    }
public function commit ( ) { $ this -> driver -> inTransaction ( function ( Driver $ driver , array $ pendingQueries ) { /** @var PendingQuery[] $pendingQueries */ foreach ( $ pendingQueries as $ item ) { $ item -> execute ( ) ; } } , $ this -> pendingQueries ) ; $ this -> pendingQueries = [ ] ; }
Executes pending queries
Executes pending queries