def _get_all_no_id(cursor, table_name, table_id, print_string, verbose, **kwargs):
    """Gets all elements from a table as a dictionary, excluding id"""

    cursor.execute("""SELECT * FROM """ + table_name)

    values = []
    for row in cursor:
        val = dict(zip(row.keys(), row))
        val.pop(table_id)
        values.append(val)

    return values