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

Adding a pointer format modifier #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yairsz
Copy link

@yairsz yairsz commented Oct 10, 2016

Hello, I found this module useful to restore a parse database that only existed as a set of json files.
It mostly worked except that relational queries were returning 0 objects. After some research I found that the culprit was the format of the pointers. After re-importing with this change relational queries are working properly. The format change is the following:

original:
"parentInspection": { "__type": "Pointer", "className": "NameOfClass", "objectId": "PNLEniZswJ" }

should be:
"_p_parentInspection": "NameOfClass$yGts7DGTry"

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

Successfully merging this pull request may close these issues.

None yet

1 participant