src/DatabaseConnection.php
public function query($statement) {
		try {
			$stmt = $this->pdo->query($statement);
			return new QueryResult($stmt, $this->pdo);
		} catch (PDOException $e) {
			throw $this->exceptionAdapter->adapt($e, $statement);
		}
	}
public function query($statement) {
		try {
			$stmt = $this->pdo->query($statement);
			return new QueryResult($stmt, $this->pdo);
		} catch (PDOException $e) {
			throw $this->exceptionAdapter->adapt($e, $statement);
		}
	}
public function query ( $ statement ) { try { $ stmt = $ this -> pdo -> query ( $ statement ) ; return new QueryResult ( $ stmt , $ this -> pdo ) ; } catch ( PDOException $ e ) { throw $ this -> exceptionAdapter -> adapt ( $ e , $ statement ) ; } }
Issue a one-off SELECT statment.

@param string $statement
@return QueryResult
Issue a one - off SELECT statment .