I disabled all class level permissions for my parse object. Only way to change objects is call cloud function(and cloud function uses masterkey). However I sometimes use client side code to show current situation.
If an int filed is equal to zero.
parseObject.get("count")
//prints 0
I used increment method in android sdk (But this will never be saved because I disabled all CLPs and I never call save() function.)
parseObject.increment("count")//This is in android sdk
I call cloud function(Cloud function uses master key and actually increases that field.
parseObject.increment("count")
parseObject.save(null,{useMasterKey});
After that If I refresh parse object increment operations includes dirty one
parseObject.fetch()
parseObject.get("count")
//Prints 2 in android. But It should print 1.Its because increment method in android sdk is still there and waits to be saved.
How to clean parse object?