setUploadingCommented

@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + ASSET_UPLOADING_EVENTS_KEY + " SET " + COMMENTED_KEY + "= '1'" + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
abstract fun setUploadingCommented(@Param(value = "id") eventId: String)

Method to execute the query to set as commented the last AssetUploadingEvent

Parameters

eventId

: the identifier of the event