We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Running purge on a schema with no data rows fails
Run the following code for some schema. If there are no rows in the database it will fail
const schema = new Parse.Schema('Machine'); schema.purge();
If the table has no rows then nothing should happen
Where my script that runs the code above gives an unhandledPromiseRejectionWarning.
My server gives the following error:
[1] error: Error generating response. ParseError { code: 101, message: 'Object not found.' } code=101, message=Object not found. [1] error: Object not found. code=101, message=Object not found.
Server
Database
See above
The text was updated successfully, but these errors were encountered:
Thanks for reporting. I wasn't able to replicate your error exactly but I did find an error. I'll submit a fix soon.
Sorry, something went wrong.
Looks like that is the issue, nice solve, thanks
No Problem!
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Running purge on a schema with no data rows fails
Steps to reproduce
Run the following code for some schema. If there are no rows in the database it will fail
Expected Results
If the table has no rows then nothing should happen
Actual Outcome
Where my script that runs the code above gives an unhandledPromiseRejectionWarning.
My server gives the following error:
Environment Setup
Server
Database
Logs/Trace
See above
The text was updated successfully, but these errors were encountered: