src/Native5/Core/Database/DB.php
public function execQuery($query, $valArr = array(), $queryType = self::SELECT) {
        return $this->exec($this->bindValues($this->prepare($query), $valArr), $queryType);
    }
public function execQuery($query, $valArr = array(), $queryType = self::SELECT) {
        return $this->exec($this->bindValues($this->prepare($query), $valArr), $queryType);
    }
public function execQuery ( $ query , $ valArr = array ( ) , $ queryType = self :: SELECT ) { return $ this -> exec ( $ this -> bindValues ( $ this -> prepare ( $ query ) , $ valArr ) , $ queryType ) ; }
execQuery Wrapper method which prepares the query, binds values and executes it

@param string $query Query string
@param array $valArr array with statment placeholders mapped to values to bind
@param mixed $queryType Type of database query, one of SELECT, INSERT, UPDATE, DELETE constants

@access public

@return array|int|boolean SELECT - array of all selected rows as associative arrays on success, throws exception otherwise
INSERT- Database ID for inserted row, throws exception otherwise
UPDATE | DELETE- true on success, throws exception otherwise

@throws Exception if could not prepare statement, or bind values or execute query successfuly
execQuery Wrapper method which prepares the query binds values and executes it