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 Update a Record in an SQL Table
Public Function: SQLTableUpdateRecord
publicSQLTableUpdateRecord(objSQLTable:SQLTable,objSQLActiveRecord:SQLActiveRecord,arrValue:any[]):number{
letintCount:number=objSQLTable.updateRecord(objSQLActiveRecord,arrValue);
this.objLogger.info(`Updated${intCount.toString()}" records from${objSQLTable.name}.`);
returnintCount;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
