insertRejectedTag

@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + REJECTED_TAGS_KEY + " (" + IDENTIFIER_KEY + "," + TAG_KEY + "," + RELEASE_EVENT_KEY + " )" + " VALUES (" + ":" + IDENTIFIER_KEY + "," + ":" + TAG_KEY + "," + ":" + RELEASE_EVENT_KEY + ")", nativeQuery = true)
abstract fun insertRejectedTag(@Param(value = "id") rejectedTagId: String, @Param(value = "tag") tag: String, @Param(value = "release_event") eventId: String)

Method to execute the query to insert a new RejectedTag

Parameters

rejectedTagId

: the identifier of the rejected tag

tag

: the value of the tag to insert

eventId

: the identifier of the event