Orchestrator Function: SQL Table Read By Custom SQL Query

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 Read Records by Custom SQL Query from an SQL Table

Private Function: SQLTableReadCustomQuery

privateSQLTableReadCustomQuery(objSQLTable:SQLTable,strSQLQuery:string):SQLActiveRecord[]{

letobjSQLDatabase:SQLDatabase=objSQLTable.databaseasSQLDatabase;

letarrSQLActiveRecord:SQLActiveRecord[]=this.SQLDatabaseReadCustomQuery(objSQLDatabase,strSQLQuery);

returnarrSQLActiveRecord;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like