Skip to content

Instantly share code, notes, and snippets.

@vlucas
Last active April 9, 2021 14:46
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 vlucas/8a457daff1c5dda11561b41842036011 to your computer and use it in GitHub Desktop.
Save vlucas/8a457daff1c5dda11561b41842036011 to your computer and use it in GitHub Desktop.
SheetQuery-getRows
const query = sheetQuery()
.from('Transactions')
.where(row => row.Category === 'Shops');
const data = query.getRows(); // Array of objects, i.e. [ { Name: "Somestore", Amount: 45.29, Category: "Shops" } ]
@vlucas
Copy link
Author

vlucas commented Apr 1, 2021

SheetQuery is a Google Apps Script Library.
Script ID: 1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaO

Docs page (autogenerated): https://script.google.com/macros/library/d/1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaO/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment