Reputation: 65
I'm trying to get all element of a parse Collection with Javascript.
collection.query.limit(1000);
doesn't work for me. query propiety doesn't exist in collection.
Thanks!
Upvotes: 3
Views: 429
Reputation: 38526
Per the docs here, it should be the other way around: https://parse.com/docs/js_guide#collections
var query = new Parse.Query("myClass");
query.limit(1000);
var collection = query.collection();
Upvotes: 3