get User Links

@Query(value = "SELECT " + LINK_IDENTIFIER_KEY + " FROM " + LINKS_KEY + " WHERE " + OWNER_KEY + "=:" + OWNER_KEY + " ORDER BY " + DATE_KEY + " DESC", nativeQuery = true )
abstract fun getUserLinks(@Param(value = "owner") owner: String): HashSet<String>

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

Return

the identifiers of the owned user links as HashSet of String

Parameters

owner

The identifier of the user