ISQLGenerator.ConvertValue Method
Converts a value from one field type representation to another, handling any data transformation required by the target engine.
Syntax
Unit: Aurelius.Sql.Interfaces
function ISQLGenerator.ConvertValue(Value: Variant; FromType: TFieldType; ToType: TFieldType): Variant; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Value | Variant | The source value to convert. | |
| FromType | TFieldType | The field type of the source value. | |
| ToType | TFieldType | The field type of the target value. |
Returns
The converted value as a Variant.