Skip to content

Create and update object #25

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

Closed
ghost opened this issue Jan 10, 2019 · 1 comment
Closed

Create and update object #25

ghost opened this issue Jan 10, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 10, 2019

Hello,

I think it's not an issue but I try to create and update a Diet_Plans but I didn't succeed.

Is it possible to update the documentation/tutorial to make a CRUD for Diet_Plans ?

Because, when I try this code from the README :
var dietPlan = ParseObject('DietPlan') ..setValue('Name', 'Ketogenic') ..setValue('Fat', 65);
My IDE tell me: The method 'setValue' isn't defined for the class 'ParseObject'.

In advance, thank you.

@phillwiggins
Copy link
Member

All fixed, should be just ..set(KEY, VALUE);

In V1.0.4 we have added generics so that we can control the types we are working with. It will look something like get(KEY, VALUE);

Thanks for pointing that out.

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

1 participant