get Project By Id

@Query(value = ""SELECT * FROM " + PROJECTS_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun getProjectById(@Param(value = "id") projectId: String): Project

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

Return

the project as Project

Parameters

projectId

The identifier of the project to fetch