get Note By Update

@Query(value = ""SELECT * FROM " + NOTES_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY + " AND " + UPDATE_KEY + "=:" + UPDATE_KEY", nativeQuery = true )
abstract fun getNoteByUpdate(@Param(value = "project_update") updateId: String, @Param(value = "id") noteId: String): Note

Method to execute the query to select a Note of an ProjectUpdate

Return

the note as Note

Parameters

updateId

The update identifier

noteId

The note identifier