Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Created August 1, 2013 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niraj-shah/6135866 to your computer and use it in GitHub Desktop.
Save niraj-shah/6135866 to your computer and use it in GitHub Desktop.
Get the total number of registered users from Parse
var query = new Parse.Query('User');
query.count({
success: function(number) {
// print the count
console.log(number);
},
error: function(error) {
// an error occured
console.log( error );
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment