get
Passwords
@Query(value = "SELECT * FROM " + PASSWORDS_KEY +
_WHERE_ + USER_IDENTIFIER_KEY + "=:" + USER_IDENTIFIER_KEY +
" AND " + TYPE_KEY + " IN (:" + TYPE_KEY + ")" +
" ORDER BY " + CREATION_DATE_KEY + " DESC",
nativeQuery = true
)
Query used to retrieve the passwords of the user
Return
Parameters
userId
The identifier of the user
types
The types of the passwords to include in the count