ISQLGenerator.GetWhereCondition Method
Builds the SQL WHERE predicate fragment that compares two operands using the specified operator.
Syntax
Unit: Aurelius.Sql.Interfaces
function ISQLGenerator.GetWhereCondition(const LeftOperand: string; const RightOperand: string; WhereOperator: TWhereOperator): string; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | LeftOperand | string | The left-hand SQL expression (typically a column reference). |
| const | RightOperand | string | The right-hand SQL expression (typically a parameter placeholder or literal). |
| WhereOperator | TWhereOperator | The comparison operator to apply between the two operands. |
Returns
The SQL predicate fragment (e.g., 't0."Age" > :p_0').