get Group Member

@Query(value = ""SELECT * FROM " + GROUP_MEMBERS_TABLE + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY + " AND " + GROUP_MEMBER_KEY + "=:" + GROUP_MEMBER_KEY", nativeQuery = true )
abstract fun getGroupMember(@Param(value = "id") memberId: String, @Param(value = "group_member") groupId: String): GroupMember

Method to execute the query to select a GroupMember by its id

Return

the group member as GroupMember

Parameters

memberId

: the member identifier

groupId

: the group identifier