I have a parse server deployed on heroku. I am running some cloud code on my parse server its a code that takes several minutes to run and causes timeout errors on Heroku when run on a web dyno.   heroku[router]: at=error code=H12 desc="Request t...
I have an AfterSave function that updates something else based on the previous value of the object that was just saved. Simply knowing that the object has changed with object.existed() is not enough.  Is there any way to get the previous value of an...
So here's my problem, we're developing a mobile app so 5 month ago when we began, we used Parse for our backend solution. Now Parse will die in a few month but luckily, we can still use Parse server by including their API. But after migrating...
function bsfir() {     Parse.Promise.as().then(function() {         return Parse.Cloud.run('gRFI', {});     }).then(function(gRFIr) {         return Parse.Cloud.run('gFI', { });     }).then(function(gFIR) {         return gFIR;     },...
I just migrated a Parse Server, and everything works, except cloud code. I have come to the understanding that it's because in my main.js I require the library "Underscore".  This is my cloud code function:       Parse.Cloud.define("R...
I've been running Parse cloud code for a few months using CLI version 1.4.1 with no problems. I just updated using the CLI to the latest version, 1.4.2, but now when I deploy I get this output:   Uploading source files Finished uploading files Up...
I have created a background job to run every minute. The purpose of it is to delete old or outdated data within the database. In this case, the user submits a time which has an attached timestamp to it, and the two values are stored in arrays times a...
I'm using Parse Cloud Code to do before/afterSave processing. I'd check the beforeSave value of an attribute in the afterSave hook - for example, do something when parseObj.get('status') transitions from processing => complete. I c...
I have used this code to save the data using Parse Cloud, I have a unique column "number_plate" I am facing a problem and that is when I try to update the object I'm unable to do so.  var Car = Parse.Object.extend("Car");  // Chec...
I am trying to work with Parse Cloud Code and use promises to make sure I eliminate any issues with cals being async. I am wanting to query a class, get an object back, build up some JSON, then query some relations of the object (tags, referees) and...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.