setAsFinished

@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + RELEASES_KEY + " SET " + RELEASE_STATUS_KEY + "='Finished'" + " WHERE " + RELEASE_STATUS_KEY + "='Latest' AND " + PROJECT_KEY + "=:" + PROJECT_KEY", nativeQuery = true)
abstract fun setAsFinished(@Param(value = "project") projectId: String)

Method to execute the query to set as finished the existing latest releases in a project

Parameters

projectId

: the identifier of the project where set the pass Latest releases as Finished