Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-find-all

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-find-all

Return all results from a Parse.com query

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Parse Find All

Simple module enabling unlimited queries that return the entire Parse.com collection (up to 10,000 results).

Usage

var findAll = require('parse-find-all');
var query = new Parse.Query('Person')  // Where 'Person' is name of your collection
                .equalTo('name', 'John');

findAll(query)
.then(function(results) {
  console.log(results.length + ' is potentially more than a thousand!');
});

Note Parse Find All overrides any .limit() calls set on the query object. If you want to set the number of results returned in each network request use

findAll(query, { limit: 500 })

Default limit is 1000 per request, the max allowed by Parse.com. Parse places a hard limit at 10,000 on query results so that is the most that can be returned by findAll

FAQs

Package last updated on 04 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc