def METHOD_NAME(
        write_cursor: DBCursor,
        key_parts: Iterable[Union[str, GeneralCacheType]],
        values: Iterable[str],
        timestamp: Timestamp,
) -> None:
    """Function to update the general cache in globaldb. Inserts all values paired
    with the cache key. If any entry exists, overwrites it."""
    cache_key = compute_cache_key(key_parts)
    tuples = [(cache_key, value, timestamp) for value in values]
    write_cursor.executemany(
        'INSERT OR REPLACE INTO general_cache '
        '(key, value, last_queried_ts) VALUES (?, ?, ?)',
        tuples,
    )