updateReleaseStatus

@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + RELEASES_KEY + " SET " + RELEASE_STATUS_KEY + "=:" + RELEASE_STATUS_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
abstract fun updateReleaseStatus(@Param(value = "id") releaseId: String, @Param(value = "release_status") status: String)

Method to execute the query to update the status of an existing Release

Parameters

releaseId

: the identifier of the release to change status

status

: the status to set at the release