delete Member

@Modifying(clearAutomatically = true )
@Query(value = ""DELETE FROM " + GROUP_MEMBERS_TABLE + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun deleteMember(@Param(value = "id") memberId: String)

Method to execute the query to delete the user's account

Parameters

memberId

: the user identifier