EdgeDB allows users to create their own custom functions
using EdgeQL. Currently only non-aggregate functions
(without any SET OF
parameters) can be created by the
user. Let's create a simple function that converts a word
into "pig Latin":
And now we can try it out: