detach Collection From Teams

@Modifying(clearAutomatically = true )
@Query(value = ""DELETE FROM " + COLLECTIONS_TEAMS_TABLE + " WHERE " + COLLECTION_IDENTIFIER_KEY + "=:" + COLLECTION_IDENTIFIER_KEY", nativeQuery = true )
abstract fun detachCollectionFromTeams(@Param(value = "collection_id") collectionId: String)

Method to execute the query to detach a collection from teams

Parameters

collectionId

The identifier of the collection to detach from the teams