src/Readdle/Database/FQDBQueryAPI.php
public function queryHash($query, $options = array())
    {
        return $this->queryArray(
            $query,
            $options,
            function(\PDOStatement $statement) {
                return $statement->fetchAll(\PDO::FETCH_KEY_PAIR);
            }
        );
    }
public function queryHash($query, $options = array())
    {
        return $this->queryArray(
            $query,
            $options,
            function(\PDOStatement $statement) {
                return $statement->fetchAll(\PDO::FETCH_KEY_PAIR);
            }
        );
    }
public function queryHash ( $ query , $ options = array ( ) ) { return $ this -> queryArray ( $ query , $ options , function ( \ PDOStatement $ statement ) { return $ statement -> fetchAll ( \ PDO :: FETCH_KEY_PAIR ) ; } ) ; }
executes SELECT or SHOW query and returns an assoc array made of two-columns
where the first column is a key and the second column is the value
@param $query
@param array $options
@return array
executes SELECT or SHOW query and returns an assoc array made of two - columns where the first column is a key and the second column is the value