import "sbISQLBuilder.idl";
Inheritance diagram for sbISQLSelectBuilder:
Public Member Functions | |
void | addColumn (in AString aTableName, in AString aColumnName) |
Add a column to the output column list. | |
void | clearColumns () |
Clears added columns. | |
void | addOrder (in AString aTableName, in AString aColumnName, in boolean aAscending) |
Add an order clause to the query. | |
void | addRandomOrder () |
Add a random order clause to the query. | |
void | addGroupBy (in AString aTableName, in AString aColumnName) |
Add an group by clause to the query. | |
Public Attributes | |
attribute AString | baseTableName |
The query's base table. | |
attribute AString | baseTableAlias |
The query's base table's alias. | |
attribute boolean | distinct |
Is the query distinct? |
Definition at line 300 of file sbISQLBuilder.idl.
void sbISQLSelectBuilder::addColumn | ( | in AString | aTableName, | |
in AString | aColumnName | |||
) |
Add a column to the output column list.
aTableName | The table name the column belongs to. To omit the table name qualification, use null. | |
aColumnName | The name of the column to add to the list |
void sbISQLSelectBuilder::addOrder | ( | in AString | aTableName, | |
in AString | aColumnName, | |||
in boolean | aAscending | |||
) |
Add an order clause to the query.
aTableName | Table name the column belongs to | |
aColumnName | Name of the column to sort | |
aAscending | True if the sort should be ascending |
void sbISQLSelectBuilder::addRandomOrder | ( | ) |
Add a random order clause to the query.
aTableName | Table name the column belongs to |
void sbISQLSelectBuilder::addGroupBy | ( | in AString | aTableName, | |
in AString | aColumnName | |||
) |
Add an group by clause to the query.
aTableName | Table name the column belongs to | |
aColumnName | Name of the column to group on |