src/Database/Database.php
protected function public__execQuery($sql_query, array $bind_params = [], $fetch_mode = NULL)
    {
        $sth = $this->getPDOInstance()->prepare($this->getPrefixedTableName($sql_query));
        foreach ($bind_params as $key => $value)
        {
            $sth->bindValue("$key", $value, $this->getPdoType(\gettype($value)));
        }
        $sth->execute();
        return $sth->fetchAll($fetch_mode != NULL ? $fetch_mode : $this->getFetchMode());
    }
protected function public__execQuery($sql_query, array $bind_params = [], $fetch_mode = NULL)
    {
        $sth = $this->getPDOInstance()->prepare($this->getPrefixedTableName($sql_query));
        foreach ($bind_params as $key => $value)
        {
            $sth->bindValue("$key", $value, $this->getPdoType(\gettype($value)));
        }
        $sth->execute();
        return $sth->fetchAll($fetch_mode != NULL ? $fetch_mode : $this->getFetchMode());
    }
execQuery

@param string $sql_query An SQL query string
@param array $bind_params Paramters to bind
@param int $fetch_mode A PDO Fetch mode \PDO::FETCH_*
@return array By default an assoc array, but depends on $fetchMode