delete Link

@Modifying(clearAutomatically = true )
@Query(value = ""DELETE FROM " + LINKS_KEY + " WHERE " + LINK_IDENTIFIER_KEY + "=:" + LINK_IDENTIFIER_KEY", nativeQuery = true )
abstract fun deleteLink(@Param(value = "link_id") linkId: String)

Method to execute the query to delete a link

Parameters

linkId

The identifier of the link to delete