def insert(connection, import_id, import_date, shop_id):
    """Add a new import to the database.

    Args:
        connection (sqlite3.Connection)
        import_id (str)
        import_date (datetime)
        shop_id (str)
    """

    cur = connection.cursor()
    cur.execute('''INSERT INTO Imports (importID, importDate, shopID) VALUES (?,?,?)''',
                (import_id, import_date, shop_id))
    connection.commit()
    return cur.lastrowid