Functions
/
Introduction to Functions

Introduction to Functions

A function specifies the underlying action that a component can perform, such as reading data, inserting a record, updating multiple records or calling an API. When you add components to a Space, you'll be able to select the function that you want that component to perform. For example, you may want a button component to edit a User record using the Update Users function, or a form component to create a new record using the Insert User function.

Auto-generated functions

When you connect a data source, Internal will automatically generate functions based on that data source. For most data sources these functions will be "insert", "update", and "delete". See the documentation for each data source to view what functions are automatically generated. Note that in order for Internal to generate these functions, the user account (credentials) that Internal uses to connect to the data source must have permissions to insert, update and delete data -- otherwise these functions will not be generated.

Creating functions with the function editor

You can also create your own functions using the Function Editor. Learn more below:

SQL Database Functions (PostgreSQL, MySQL, SQL Server, MariaDB, Cassandra)

MongoDB Functions

HTTP Functions (REST APIs, GraphQL, SOAP APIs, or any other HTTP request)