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
)
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