function runQuery(\Plasma\QueryBuilderInterface $query): \React\Promise\PromiseInterface {
        if($this->driver === null) {
            throw new \Plasma\TransactionException('Transaction has been committed or rolled back');
        }
        
        return $this->driver->runQuery($this->client, $query);
    }
function runQuery(\Plasma\QueryBuilderInterface $query): \React\Promise\PromiseInterface {
        if($this->driver === null) {
            throw new \Plasma\TransactionException('Transaction has been committed or rolled back');
        }
        
        return $this->driver->runQuery($this->client, $query);
    }
function runQuery ( \ Plasma \ QueryBuilderInterface $ query ) : \ React \ Promise \ PromiseInterface { if ( $ this -> driver === null ) { throw new \ Plasma \ TransactionException ( 'Transaction has been committed or rolled back' ) ; } return $ this -> driver -> runQuery ( $ this -> client , $ query ) ; }
Runs the given querybuilder on the underlying driver instance.
The driver CAN throw an exception if the given querybuilder is not supported.
An example would be a SQL querybuilder and a Cassandra driver.
@param \Plasma\QueryBuilderInterface  $query
@return \React\Promise\PromiseInterface
@throws \Plasma\Exception
Runs the given querybuilder on the underlying driver instance . The driver CAN throw an exception if the given querybuilder is not supported . An example would be a SQL querybuilder and a Cassandra driver .