This package can compose SQL queries defined programatically to be executed with ADODb.
There is a query class that can compose the query adding the WHERE condition clause,
The conditions can be made of multiple clauses combined with logical operators AND, and OR.
This class supports column alias, adding tables to the queries, switch/case statements, math operators, aggregating expressions like SUM, AVG, MIN, MAX, column sorting.
The composed queries can be executed with or without restricting the range of rows to be returned.
There is also another class that provides functionality to combine data from multiple tables, like performing joins. |