public static function q_column($q, $column = 0): array
    {
        $qh = self::getInstance()->sql_query($q);

        return $qh->fetchAll(PDO::FETCH_COLUMN, $column);
    }
public static function q_column($q, $column = 0): array
    {
        $qh = self::getInstance()->sql_query($q);

        return $qh->fetchAll(PDO::FETCH_COLUMN, $column);
    }
public static function q_column ( $ q , $ column = 0 ) : array { $ qh = self :: getInstance ( ) -> sql_query ( $ q ) ; return $ qh -> fetchAll ( PDO :: FETCH_COLUMN , $ column ) ; }
Return one dimensional array with one column, for example IDs list

@param $q
@param int $column

@return array
Return one dimensional array with one column for example IDs list