TSQLSelectField.Create Constructor
Overloads
- TSQLSelectField.Create(TSQLTable, string)
- TSQLSelectField.Create(TSQLTable, string, TAggregateFunction)
TSQLSelectField.Create(TSQLTable, string)
Creates a non-aggregated TSQLSelectField for the given table and column.
Syntax
Unit: Aurelius.Sql.BaseTypes
constructor TSQLSelectField.Create(Table: TSQLTable; const Field: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Table | TSQLTable | The table descriptor that owns this column. | |
| const | Field | string | The column name to select. |
See also
TSQLSelectField.Create(TSQLTable, string, TAggregateFunction)
Creates an aggregated TSQLSelectField for the given table, column, and aggregate function.
Syntax
Unit: Aurelius.Sql.BaseTypes
constructor TSQLSelectField.Create(Table: TSQLTable; const Field: string; AggregateFunction: TAggregateFunction);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Table | TSQLTable | The table descriptor that owns this column. | |
| const | Field | string | The column name to aggregate. |
| AggregateFunction | TAggregateFunction | The aggregate function to apply to the column. |