detach Collection From Links

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

Method to execute the query to detach a collection from links

Parameters

collectionId

The identifier of the collection to detach from the links