public function selectArray($q, $args = array())
    {
        $this->exec($q, $args);
        return $this->_sth ? $this->_sth->fetchAll(\PDO::FETCH_ASSOC) : false;
    }
public function selectArray($q, $args = array())
    {
        $this->exec($q, $args);
        return $this->_sth ? $this->_sth->fetchAll(\PDO::FETCH_ASSOC) : false;
    }
public function selectArray ( $ q , $ args = array ( ) ) { $ this -> exec ( $ q , $ args ) ; return $ this -> _sth ? $ this -> _sth -> fetchAll ( \ PDO :: FETCH_ASSOC ) : false ; }
Fetch all results in an associative array

@param string $q    SQL query with '?' value placeholders
@param array  $args (Optional) List of values corresponding to placeholders

@return array All associative rows
Fetch all results in an associative array