Add custom SQL operators to MemCP

From MemCP
Jump to navigation Jump to search

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