updateEvent

fun updateEvent(id: Long, entity: Entity): Long

Updates an event and applies the eventStatus=null workaround, if necessary.

While the event row can be updated, sub-values (data rows) are always deleted and created from scratch.

Return

ID of the updated event (not necessarily the same as the original event)

Parameters

id

ID of the event to update

entity

new values of the event