Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

IncUpdateOperation not working #48

Open
andremaree opened this issue May 23, 2019 · 2 comments
Open

IncUpdateOperation not working #48

andremaree opened this issue May 23, 2019 · 2 comments

Comments

@andremaree
Copy link

I noticed the IncUpdateOperation does not increment (add to) the existing int value but updates it instead. So there is no difference between IncUpdateOperation and SetUpdateOperation. I think this must be a bug. If it is not a bug then please explain the difference between IncUpdateOperation and SetUpdateOperation.

IncUpdateOperation inc = new IncUpdateOperation("Total", 11);

If this is done multiple times Total will always stay 11. It is supposed to add 11 to the existing value but it does not.

@ghost
Copy link

ghost commented Mar 10, 2020

Is there any update on this issue? It appears that is still does not work in the latest 2.4.1-preview version.

@kiranvsk1
Copy link

Facing the same issue. Please explain the difference btw IncUpdateOperation and SetUpdateOperation?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants