get
Update
By
Version
@Query(value = ""SELECT * FROM " + UPDATES_KEY + " WHERE " + PROJECT_KEY + "=:" + PROJECT_KEY
+ " AND " + UPDATE_TARGET_VERSION_KEY + "=:" + UPDATE_TARGET_VERSION_KEY",
nativeQuery = true
)
Method to execute the query to select a ProjectUpdate by its target project_version
Return
the project update as ProjectUpdate
Parameters
projectId
: the project identifier
targetVersion
: the target project_version of the update to fetch