updateEventAndExceptions

fun updateEventAndExceptions(id: Long, eventAndExceptions: EventAndExceptions): Long

Updates an event and all its exceptions. Input data is first cleaned up using cleanMainEvent and cleanException.

Return

main event ID of the updated row (may be different than id when the event had to be re-created)

Parameters

id

ID of the main event row

eventAndExceptions

new event (including exceptions)