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/6b302f6cce64890ce03d5d57e24687d0 to your computer and use it in GitHub Desktop.
Save vlucas/6b302f6cce64890ce03d5d57e24687d0 to your computer and use it in GitHub Desktop.
SheetQuery-UpdateRows
// Update rows with criteria
sheetQuery()
.from('Transactions')
.where(row => row.Business.toLowerCase().includes('starbucks'))
.updateRows(row => {
row.Category = 'Coffee Shops'
});
@vlucas
Copy link
Author

vlucas commented Apr 9, 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