parse cloud code job : delete rows that have been in DB for an hour <p>I'm using parse as a mobile backend for an ios app I'm developing. I know its probably not a permanent solution but for what I'm doing right now it gives me good test results. I need to create a cloud code job which will remove all the rows with entries older than one hour in all of my databases besides one (this DB is just for the sake of having a backup of everything).I want to do this so client side devices can only query for things in the DB that are less than an hour old. I have a "timestamp" on each entry which I was going to incorporate into a js function to first check If all the entries were indeed an hour or more old, and if they were, delete them. I've been doing some research and really havent been able to develop a js function that would do this (I have absolutely no js experience whatSoEver just obj c) from my understanding it would be something similar to this </p> <pre><code> Parse.Cloud.job("deleteRows", function(request, status) { Parse.Cloud.useMasterKey(); var query = new Parse.Query(//inverse of db i dont want to delete from); query.each(function(//row in db?) { // delete here under parameters ? }).then(function() { status.success("rows deleted"); }, function(error) { status.error("job incomplete"); }); }); </code></pre> <p>if anyone could give me a hand I'd really appreciate it. Thanks.</p>