pgcontents/query.py
def select_file_ids(db, user_id):
    """
    Get all file ids for a user.
    """
    return list(
        db.execute(
            select([files.c.id])
            .where(files.c.user_id == user_id)
        )
    )
def select_file_ids(db, user_id):
    """
    Get all file ids for a user.
    """
    return list(
        db.execute(
            select([files.c.id])
            .where(files.c.user_id == user_id)
        )
    )
def select_file_ids ( db , user_id ) : return list ( db . execute ( select ( [ files . c . id ] ) . where ( files . c . user_id == user_id ) ) )
Get all file ids for a user.
Get all file ids for a user .