creating Parse Classes from Google Spreadsheets

Just as in - nosql database for VBA, you'll probably want to load up some test data from a Google Spreadsheet to a class.  You'll find some test data in this workbook - it's same data as we used from Excel.

Here's the code you'll need (after making a reference to your parseCom script as described in - noSQL database for GAS), to create 2 new classes in your database.

function testPopulate() {
  populateFromName ("gasParseCustomers");
  populateFromName ("gasParseData");
function populateFromName (sheetName) {
   parseCom.populateFromSheetValues(SpreadsheetApp.getActiveSpreadsheet().getSheetByName(sheetName).getDataRange().getValues(), sheetName);

In the Examples code in the parseCom library you copied there is some code that knows how to populate from spreadsheet data.

For more on this see - noSQL database for GAS.

You want to learn Google Apps Script?


Google Apps Script for Developers and Google Apps Script for Beginners.