Skip to content

Parse query from LocalDataStore for object with PFRelation returns empty #72

Closed
@MatthieuTnsc

Description

@MatthieuTnsc

I am trying to implement Local datastore in my application but I have an issue when I need to query relation from local Datastore.

Here is my query :

var relation:PFRelation = PFUser.currentUser()!.relationForKey("Friendship")
var query:PFQuery = relation.query()!

This query returns what I'm looking for when fetched by network but then I Pin all the results and re-query from localDatastore, and the result is empty.

I am using the newest Parse iOS SDK (1.8.1)

This issue is linked with these topics :

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

    Issue actions