Functions#

What is a Function?#

A function is SQL code that can be accessed using the SQL expression syntax, e.g. SELECT my_func(100). You can pass values into functions, and they can return results.

There are also many, many built-in functions you can use in the same way.

Database users create functions. Functions are schema and are stored along with other schema elements in the database.

Doltgres support for Functions#

User created functions are supported with some limitations, and will be expanded in a future release.