remove
Link
From
Team
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + TEAMS_LINKS_TABLE + _WHERE_ +
TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY +
" AND " + LINK_IDENTIFIER_KEY + "=:" + LINK_IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query remove a link from a team
Parameters
teamId
The identifier of the team
linkId
The identifier of the link