LiteDAC

TCustomLiteUserFunction.FunctionKind Property

Used to specify the kind of the function that will be defined.

Class

TCustomLiteUserFunction

Syntax

property FunctionKind: TLiteFunctionKind default fkScalar;

Remarks

Use the FunctionKind property to specify the kind of the function that will be defined for future use in SQL statements. The list of function parameters can be set using the Params property. When fkScalar, the implementation of the function has to be defined in theOnExecute event handler. When fkAggregate, the implementation of the function has to be defined in the OnStep event handler, and a result has to be passed back in the OnFinal event handler. Default value is fkScalar.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback