get Update By Id

@Query(value = ""SELECT * FROM " + UPDATES_KEY + " WHERE " + PROJECT_KEY + "=:" + PROJECT_KEY + " AND " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun getUpdateById(@Param(value = "project") projectId: String, @Param(value = "id") updateId: String): ProjectUpdate

Method to execute the query to select a ProjectUpdate by its id

Return

the project update as ProjectUpdate

Parameters

projectId

: the project identifier

updateId

: the update identifier to fetch