You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you confirm we have to rename objectId to _id when we use the export function from parse dashboard to import data into our database? Do we need to do something else?
Yes, you need to do that, and also transform createdAt, updatedAt, ACL, and transform pointers by prefixing the key with _p_ and changing the value to the target classname + "$" + target objectId. I recommend you import to a test DB first and make sure the imported data behaves as expected.
Activity
drew-gross commentedon Jun 8, 2016
Yes, you need to do that, and also transform createdAt, updatedAt, ACL, and transform pointers by prefixing the key with
_p_and changing the value to the target classname + "$" + target objectId. I recommend you import to a test DB first and make sure the imported data behaves as expected.[-]_id to objectId[/-][+]Importing data[/+]davimacedo commentedon Jun 8, 2016
I suggest you import through cloud code instead of inserting directly in the mongo collection. You can see an example here:
https://gist.github.com/davimacedo/c7738203a2a616b48a22fdc7c00b37d2