EdgeDB 1.0 is launching on Feb 10th! Watch the live event.
Claim your ticket
EdgeQL Tutorial

User-Defined Functions

Subtopics

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":

Input
Run
Output
Press the 'Run' button to evaluate the input

And now we can try it out:

Input
Run
Output
Press the 'Run' button to evaluate the input