detach Team From Collections

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

Method to execute the query to detach a team from collections

Parameters

teamId

The identifier of the team to detach from the collections