An arbitrary function can be included in the SQL using the pseudo operator
function
. The first argument is the function name and the rest are its arguments, for example:
(select [function "COS" [age]] :from [EMPLOYEES])
(insert-records
:into [atable]
:attributes '(a b)
:values
(list 1 [function "TO_DATE" "02/06/99" "mm/DD/RR"]))