deleteTeam

@Modifying(clearAutomatically = true)
@Query(value = ""DELETE FROM " + TEAMS_KEY + " WHERE " + TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY", nativeQuery = true)
abstract fun deleteTeam(@Param(value = "team_id") teamId: String)

Method to execute the query to delete a team

Parameters

teamId

: the identifier of the team