public function execute()
	{
		$pdoStatement = $this->pdo->prepare((string) $this);

		foreach ($this->bindings as $clause => $predicate) {
			foreach ($predicate as $key => $value) {
				$pdoStatement->bindValue(sprintf(':%s%d', $clause, $key + 1), $value, $this->getPdoDataType($value));
			}
		}

		$pdoStatement->execute();

		return new QueryResult($pdoStatement);
	}
public function execute()
	{
		$pdoStatement = $this->pdo->prepare((string) $this);

		foreach ($this->bindings as $clause => $predicate) {
			foreach ($predicate as $key => $value) {
				$pdoStatement->bindValue(sprintf(':%s%d', $clause, $key + 1), $value, $this->getPdoDataType($value));
			}
		}

		$pdoStatement->execute();

		return new QueryResult($pdoStatement);
	}
public function execute ( ) { $ pdoStatement = $ this -> pdo -> prepare ( ( string ) $ this ) ; foreach ( $ this -> bindings as $ clause => $ predicate ) { foreach ( $ predicate as $ key => $ value ) { $ pdoStatement -> bindValue ( sprintf ( ':%s%d' , $ clause , $ key + 1 ) , $ value , $ this -> getPdoDataType ( $ value ) ) ; } } $ pdoStatement -> execute ( ) ; return new QueryResult ( $ pdoStatement ) ; }
Returns the result of the executed prepared query.

@return QueryResult the result of the executed prepared query.
Returns the result of the executed prepared query .