customizeQuery(context)
| 
                   Function Declaration  | 
                
                   
                      | 
              
| 
                   Type  | 
                
                   Interface function  | 
              
| 
                   Description  | 
                
                   Runs a custom logic before running the query. The query object can be modified to accommodate any necessary changes. For example, you can use this function to add filters or conditions to the query.  | 
              
| 
                   Returns  | 
                
                   query.Query  | 
              
| 
                   Input Parameters  | 
                
                   source: SectionSource, request: FileProcessingRequestParams, sourceQuery: query.Query 
                    Note: 
                     
                The query.Query parameter is the object type interface Query from N/query.  | 
              
Related Topics
- File Builder Interface Functions
 - afterGetPendingRequest(context)
 - getPendingRequestFailure(context)
 - processSourceData(context)
 - processSourceFailure(context)
 - beforeProcessRow(context)
 - afterProcessRow(context)
 - beforeSaveOutputFile(context)
 - beforeSaveOutputFileWithOpt(context)
 - afterSaveOutputFile(context)
 - customizeSearch(context)
 - customizeFieldValue(context)