delete
Team
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + TEAMS_KEY + " WHERE " + TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to delete a team
Parameters
teamId
The identifier of the team