update Collection

@Modifying(clearAutomatically = true )
@Query(value = ""UPDATE " + COLLECTIONS_KEY + " SET " + COLLECTION_COLOR_KEY + "=:" + COLLECTION_COLOR_KEY + "," + TITLE_KEY + "=:" + TITLE_KEY + "," + DESCRIPTION_KEY + "=:" + DESCRIPTION_KEY + _WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY + " AND " + OWNER_KEY + "=:" + OWNER_KEY", nativeQuery = true )
abstract fun updateCollection(    @Param(value = "id") collectionId: String,     @Param(value = "collection_color") color: String,     @Param(value = "title") title: String,     @Param(value = "description") description: String,     @Param(value = "owner") owner: String)

Method to execute the query to edit a collection

Parameters

collectionId

The identifier of the collection

color

The color of the collection

title

The title of the collection

description

The description of the collection

owner

The owner of the collection