get User Collections

@Query(value = "SELECT " + IDENTIFIER_KEY + " FROM " + COLLECTIONS_KEY + " WHERE " + OWNER_KEY + "=:" + OWNER_KEY + " ORDER BY " + DATE_KEY + " DESC", 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