-
Notifications
You must be signed in to change notification settings - Fork 3
hdbscalarfunction
Ayhan Rashidov edited this page Sep 5, 2022
·
1 revision
This object type represents a database function.
The information on how to develop the design-time data-persistence scalar function model for a Kronos application.
FUNCTION "MYSCHEMA"."hdb_functions::OrderScalarFunction" (im_price decimal(15,2),
im_discount decimal(15,2) )
RETURNS result decimal(15,2)
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER AS
BEGIN
result := :im_price - ( :im_price * :im_discount );
END;
https://github.com/codbex/codbex-kronos/tree/main/samples/hdb-scalarfunction-simple
- Data Structure Parser
- Processor
https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdb/src/test/java/com/codbex/kronos/hdb/ds/parser/hdbscalarfunction https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdb/src/test/java/com/codbex/kronos/hdb/ds/processors/function