getUserCollections

@Query(value = ""SELECT " + IDENTIFIER_KEY + " FROM " + COLLECTIONS_KEY + " WHERE " + OWNER_KEY + "=:" + OWNER_KEY", nativeQuery = true)
abstract fun getUserCollections(@Param(value = "owner") owner: String): HashSet<String>

Method to execute the query to get the user's owned collections identifiers

Return

the identifiers of the owned user collections as HashSet of String

Parameters

owner

: the identifier of the user