Following on from Query parse.com from GAS,  we’ll query the colortable  created in UpdatingScriptDB. As you would expect, this is just a few lines of code.

It needs a few basic utility functions as used all over on this site from the mcpher shared library.
 
 
It’s worth a few words on the queryArray() method of scriptdb silo. In order to harmonize the number of fetches required to get a lot of data between parse and scriptdb (so they can be compared), I’m using this method to handle getting the data in batches, up to the limit specified. This also gets over any default limits by either approach. Here’s the code – its simply returns an array of size (limit) or everything matching if limit is 0. It handles the batching up process.

The results

Here’s a live query. You can get jSonp also by specifying a callback parameter. This will get the first two entries from the dulux color scheme, this time using scriptdb as the provider

For more about parse.com, see Parse.com

For help and more information join our forum, follow the blog or follow me on Twitter .