Open davidtavarez opened 11 years ago
Hi David,
I use Composer to import Parse PHP SDK as require { "parse/php-sdk" : "1.0.*"}, I can find increment but decrement method in Parse\ParseObject.php. Is it because of the version of parse-php-sdk or some other reason? Do you know knows how to use decrement?
Thanks in advance!
Yao
I tried to use increment with negative number and it works, but still curious why they don't implement decrement.
you need to modify the parameters to like this
public function decrement($field, $amount)