getUserLinks

@Query(value = ""SELECT " + LINK_IDENTIFIER_KEY + " FROM " + LINKS_KEY + " WHERE " + OWNER_KEY + "=:" + OWNER_KEY", 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