1 2 3 4
/* syntax version 1 */ /* postgres can not */ $foo = ($item) -> { return $item + $item}; select $foo(1);