src/DatabaseConnection.php
public function exec($statement) {
		try {
			return $this->pdo->exec($statement);
		} catch (PDOException $e) {
			throw $this->exceptionAdapter->adapt($e, $statement);
		}
	}
public function exec($statement) {
		try {
			return $this->pdo->exec($statement);
		} catch (PDOException $e) {
			throw $this->exceptionAdapter->adapt($e, $statement);
		}
	}
public function exec ( $ statement ) { try { return $ this -> pdo -> exec ( $ statement ) ; } catch ( PDOException $ e ) { throw $ this -> exceptionAdapter -> adapt ( $ e , $ statement ) ; } }
Executes the given SQL query and returns a QueryResult object containing
the results of the query.

@return StatementResult
@throws zpt\db\exception\DatabaseException
Wraps any encountered PDOExceptions.
Executes the given SQL query and returns a QueryResult object containing the results of the query .