realm-cpp
realm-cpp copied to clipboard
token index not respecting current results set
I'm using a notification token to get updates about changes.
I have a couple of different views into the same collection ("public" and "user").
I expected that the index returned by the deletions/insertions/modifications vectors in changes would report based on the results set. What I'm seeing is based on the entire collection.
For example if I modify the last created item, I get the index of the last item of the entire collection, not of the current results set.
If this is tricky - would it be possible to get the ID of deleted or modified items?
@leemaguire any insight into the above?
Hi @adamski
Could you share some example code so I can better understand the issue?