public function run()
    {
        $this->executed = true;

        if ($this->client instanceof ClientInterface) {
            $this->client->sendRequest();
        } else {
            $connection = new Connection($this->config);
            $executor = new Executor($connection);
            $executor->execQuery($this->query);
        }

        return $this->hasError();
    }
public function run()
    {
        $this->executed = true;

        if ($this->client instanceof ClientInterface) {
            $this->client->sendRequest();
        } else {
            $connection = new Connection($this->config);
            $executor = new Executor($connection);
            $executor->execQuery($this->query);
        }

        return $this->hasError();
    }
public function run ( ) { $ this -> executed = true ; if ( $ this -> client instanceof ClientInterface ) { $ this -> client -> sendRequest ( ) ; } else { $ connection = new Connection ( $ this -> config ) ; $ executor = new Executor ( $ connection ) ; $ executor -> execQuery ( $ this -> query ) ; } return $ this -> hasError ( ) ; }
Run and execute prepared sql queries.

@return bool Error status
Run and execute prepared sql queries .