Function: SQL Table Update Record

by Simon Sparks · 4 February 2026

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

public SQLTableUpdateRecord(objSQLTable: SQLTable, objSQLActiveRecord: SQLActiveRecord, arrValue: any[]): number {

    let intCount: number = objSQLTable.updateRecord(objSQLActiveRecord, arrValue);

    this.objLogger.info(`Updated ${intCount.toString()}" records from ${objSQLTable.name}.`);

    return intCount;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like