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 )
abstract fun removeLinkFromTeam(@Param(value = "team_id") teamId: String, @Param(value = "link_id") linkId: String)

Method to execute the query remove a link from a team

Parameters

teamId

The identifier of the team

linkId

The identifier of the link