To use this function add it to the class library file named OrchestratorPluginSQLService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorPluginSQLService.ts
Description: Orchestrator Function to Delete Records from an SQL Table
Public Function: SQLTableDeleteRecords
publicSQLTableDeleteRecords(objSQLTable:SQLTable,arrSQLColumn:SQLColumn[],blnValidateRecordUniqueness:boolean=true):number{
letintCount:number=objSQLTable.deleteRecords(arrSQLColumn,blnValidateRecordUniqueness);
this.objLogger.info(`Deleted${intCount.toString()} records from${objSQLTable.name}.`);
returnintCount;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
