get Candidates

@Query(value = "SELECT * FROM " + USERS_KEY + " WHERE " + IDENTIFIER_KEY + " NOT IN (:" + GROUP_MEMBERS_KEY + ")", nativeQuery = true )
abstract fun getCandidates(@Param(value = "members") membersToExclude: List<String>, pageable: Pageable): List<PandoroUser>

Method to get the candidates user list

Return

the candidates list as PaginatedResponse of PandoroUser

Parameters

pageable

The parameters to paginate the query

membersToExclude

The list of the members already joined or invited to exclude from the count