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