Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to increment a number field atomically? #102

Open
kapso opened this issue Dec 2, 2013 · 2 comments
Open

Is there a way to increment a number field atomically? #102

kapso opened this issue Dec 2, 2013 · 2 comments

Comments

@kapso
Copy link

kapso commented Dec 2, 2013

Parse REST api seems to have support for it via {"score":{"__op":"Increment","amount":1}}

But I dont see any support for it in the gem?

@adelevie
Copy link
Owner

adelevie commented Dec 2, 2013

Don't think it's here, but I'm pretty sure parse-ruby-client supports it. Hope this helps.

Sent from my iPhone

On Dec 2, 2013, at 12:32 AM, Kapil notifications@github.com wrote:

Parse REST api seems to have support for it via {"score":{"__op":"Increment","amount":1}}

But I dont see any support for it in the gem?


Reply to this email directly or view it on GitHub.

@kapso
Copy link
Author

kapso commented Dec 2, 2013

Is that the case with relations as well? I see nothing for adding/removing relations in parse_resource gem

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

No branches or pull requests

2 participants