spacenick / parseFindAll

Parse.com paginator for queries : automatically paginates the max limit of 1000 objects/query and returns the whole data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

In Cloud Code:

var parseFindAll = require('cloud/parseFindAll.js');
var myQuery = new Parse.Query("Whatever");
myQuery.equalsTo("foo","bar");
parseFindAll(myQuery).then(function(results){
	
	console.log(results.length);
	// results contains the WHOLE data of the table
});

Browser side:

You need to include async.js first; parseFindAll function will be available on the window scope

About

Parse.com paginator for queries : automatically paginates the max limit of 1000 objects/query and returns the whole data.


Languages

Language:JavaScript 100.0%