remove Collection From Team

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

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

Parameters

teamId

The identifier of the team

collectionId

The identifier of the collection