get
Note
@Query(value = ""SELECT * FROM " + NOTES_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY
+ " AND " + AUTHOR_KEY + "=:" + AUTHOR_KEY",
nativeQuery = true
)
Method to execute the query to select a Note by its id
Return
the note as Note
Parameters
authorId
The author identifier
noteId
The note identifier