There are some limitations currently, like that functions can't have insert/update/delete (DML) commands in them, but we'll be working on lifting this limitation in 5.0 (along with possibly allowing recursive functions). And because EdgeQL composes well, you'll get a lot of mileage or our functions once we support DML in them.
Building something equivalent to PL/pgSQL is one of the things that will eventually happen, but unlikely to happen very soon.
There are some limitations currently, like that functions can't have insert/update/delete (DML) commands in them, but we'll be working on lifting this limitation in 5.0 (along with possibly allowing recursive functions). And because EdgeQL composes well, you'll get a lot of mileage or our functions once we support DML in them.
Building something equivalent to PL/pgSQL is one of the things that will eventually happen, but unlikely to happen very soon.