remove Team From Collection

@Modifying(clearAutomatically = true )
@Query(value = ""DELETE FROM " + COLLECTIONS_TEAMS_TABLE + _WHERE_ + COLLECTION_IDENTIFIER_KEY + "=:" + COLLECTION_IDENTIFIER_KEY + " AND " + TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY", nativeQuery = true )
abstract fun removeTeamFromCollection(@Param(value = "collection_id") collectionId: String, @Param(value = "team_id") teamId: String)

Method to execute the query to remove a team from a collection

Parameters

collectionId

The identifier of the collection

teamId

The identifier of the team