Hi,
After researching how to use CAS, I’ve learned that I need to use replace($ids, $val, $options) method in the PHP SDK. I have a couple of questions.
-
How come there’s not ‘cas’ option for upsert? Isn’t replace and upsert basically the same, except the fact that replace accepts ‘cas’? Is upsert faster than replace?
-
This is not PHP SDK question, but how come check and set is not default? Don’t people want consistency by default?