Skip to content

Unpinning from LocalDatastore if offline #563

@valeIT

Description

@valeIT

For what I understand by Design you can't unpin a child object if it has a parent, but you can unpin the parent and it will automatically unpin all the childs, let me know if that's correct.

My object graph is as follow:

MainModel has 2 pointer variables to Colors and Goals (all 2 are custom PFObjects). Colours and Goals don't have any pointer to any object.

when calling myMainModel.unpinInBackground() it doesn't unpin. The success returns true and no error, but when i refresh using loadObjects from PFQueryTableViewController it returns the deleted object as well. Anything I missed?

If I'm connected to the internet everything works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions