detach
Collection
From
Teams
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + COLLECTIONS_TEAMS_TABLE
+ " WHERE " + COLLECTION_IDENTIFIER_KEY + "=:" + COLLECTION_IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to detach a collection from teams
Parameters
collectionId
The identifier of the collection to detach from the teams