delete
Link
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + LINKS_KEY + " WHERE " + LINK_IDENTIFIER_KEY + "=:" + LINK_IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to delete a link
Parameters
linkId
The identifier of the link to delete