Parse cloud code ascending / limit won't work in query in promise
问题 In the following cloud code, the first query works fine. In the chained query, if you include the two lines of code: query.ascending("createdAt"); // NOTE query.limit(5); // NOTE it does not work! if you comment out those two lines of code, it works great. What could be the problem? It throws no errors, but simply does not execute the .each at all. If you comment out the two lines of code in question, the .each executes perfectly for all results found. Parse.Cloud.define("someFunction",