get Group Members

@Query(value = "SELECT * FROM " + GROUP_MEMBERS_TABLE + " WHERE " + GROUP_MEMBER_KEY + "=:" + GROUP_MEMBER_KEY + " AND " + INVITATION_STATUS_KEY + " = 'JOINED'", nativeQuery = true )
abstract fun getGroupMembers(@Param(value = "group_member") groupId: String): List<GroupMember>

Method to execute the query to select the members of a group

Return

the list the of members of a group as List of GroupMember

Parameters

groupId

: the group identifier