Last active
April 9, 2021 14:46
SheetQuery-UpdateRows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Update rows with criteria | |
sheetQuery() | |
.from('Transactions') | |
.where(row => row.Business.toLowerCase().includes('starbucks')) | |
.updateRows(row => { | |
row.Category = 'Coffee Shops' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SheetQuery is a Google Apps Script Library.
Script ID:
1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaO
Docs page (autogenerated): https://script.google.com/macros/library/d/1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaO/3