src/PreparedStatement.php
public function execute($params = null) {
		if ($params === null) {
			$params = [];
		}

		try {
			$this->stmt->execute($params);

			return new QueryResult($this->stmt, $this->pdo);
		} catch (PDOException $e) {
			throw $this->exAdapter->adapt($e, $this->stmt, $params);
		}
	}
public function execute($params = null) {
		if ($params === null) {
			$params = [];
		}

		try {
			$this->stmt->execute($params);

			return new QueryResult($this->stmt, $this->pdo);
		} catch (PDOException $e) {
			throw $this->exAdapter->adapt($e, $this->stmt, $params);
		}
	}
public function execute ( $ params = null ) { if ( $ params === null ) { $ params = [ ] ; } try { $ this -> stmt -> execute ( $ params ) ; return new QueryResult ( $ this -> stmt , $ this -> pdo ) ; } catch ( PDOException $ e ) { throw $ this -> exAdapter -> adapt ( $ e , $ this -> stmt , $ params ) ; } }
Execute the prepared statment with the given parameter values.

@throws DatabaseException
Execute the prepared statment with the given parameter values .