get Passwords

@Query(value = "SELECT * FROM " + PASSWORDS_KEY + _WHERE_ + USER_IDENTIFIER_KEY + "=:" + USER_IDENTIFIER_KEY + " AND " + TYPE_KEY + " IN (:" + TYPE_KEY + ")", nativeQuery = true )
abstract fun getPasswords(    @Param(value = "user_id") userId: String,     @Param(value = "type") types: Set<String>,     pageable: Pageable): List<Password>

Query used to retrieve the passwords of the user

Return

the passwords of the user as List of Password

Parameters

userId

The identifier of the user

types

The types of the passwords to include in the count

pageable

The parameters to paginate the query