Last active
          April 9, 2021 14:46 
        
      - 
      
 - 
        
Save vlucas/8a457daff1c5dda11561b41842036011 to your computer and use it in GitHub Desktop.  
    SheetQuery-getRows
  
        
  
    
      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
    
  
  
    
  | 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" } ] | 
  
    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:
1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaODocs page (autogenerated): https://script.google.com/macros/library/d/1pbpOJxDDHVeVr6WQmR5TZKSqTsW4qwdIlcVKIM6UKYvswkivwHpPnHaO/3