Add custom SQL operators to MemCP: Difference between revisions

From MemCP
Jump to navigation Jump to search
(Created page with "Some special applications need user defined custom functions. You can define them in scheme like: (sql_builtins "ADD_1" (lambda (x) (+ x 1))) Now you can call the function by: SELECT ADD_1(4) AS result")
 
(No difference)

Latest revision as of 14:59, 15 June 2025

Some special applications need user defined custom functions.

You can define them in scheme like:

(sql_builtins "ADD_1" (lambda (x) (+ x 1)))

Now you can call the function by:

SELECT ADD_1(4) AS result