GraphAware\Neo4j\Client\HttpDriver\Transaction::runMultiple PHP 메소드

runMultiple() 공개 메소드

public runMultiple ( array $statements ) : GraphAware\Common\Result\ResultCollection
$statements array
리턴 GraphAware\Common\Result\ResultCollection
    public function runMultiple(array $statements)
    {
        try {
            return $this->session->pushToTransaction($this->transactionId, $statements);
        } catch (Neo4jException $e) {
            if ($e->effect() === Neo4jException::EFFECT_ROLLBACK) {
                $this->closed = true;
                $this->state = self::ROLLED_BACK;
            }
            throw $e;
        }
    }