Skip to content

Create and update object #25

Closed
Closed
@ghost

Description

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.

Activity

phillwiggins

phillwiggins commented on Jan 10, 2019

@phillwiggins
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @phillwiggins

        Issue actions

          Create and update object · Issue #25 · parse-community/Parse-SDK-Flutter