getUserOwnedCollections
@Query(value = ""SELECT c.* FROM " + COLLECTIONS_KEY + " as c WHERE c." + OWNER_KEY + "=:" + USER_IDENTIFIER_KEY", nativeQuery = true)
Method to execute the query to get the user's owned collections
Return
the user collections as List of LinksCollection
Parameters
userId
: the identifier of the user