eXtremeDB stored procedure & Dynaimically-loaded user defined functions

来源:互联网 发布:怎么突破公司网络限制 编辑:程序博客网 时间:2024/06/06 16:48

eXtremeSQL allows developers to create their own user-defined functions. The user-defined function (UDF) must be defined as returning type “static String*” and can accept arguments of type “Value*”. The user-defined aggregate functions must be defined as returning type “static Value*” and can accept arguments of type “Value*”. The UDF must be “registered” with the eXtremeSQL runtime by declaring a function of type “static SqlFunctionDeclaration udf ()” with arguments specifying the type returned, the name used to call it, a pointer to the function and the number of arguments required.Then it must be “registered” with the eXtremeSQL runtime by declaring a function of type “static SqlFunctionDeclaration udf()” with arguments specifying the type returned, the name used to call it, a pointer to the function and the number of arguments required.

0 0