Overview
In this document, we will learn how to create a new function in SQL and associate this new object in Wayfast. If you have to repeatedly write large SQL scripts to perform the same task, you can create a function that performs that task. Instead of rewriting the SQL, you can simply call that function.
Create a Function
...
in SQL and link to the Project’s DB
Let’s create an easy function in SQL to establish a currency format in our application. You can follow these steps:
...
Automatically the new function is displayed on the “Functions” section
How to associate an existing Function in Wayfast?
In case you want to include functions previously generated in the new project, we can assign the elements selecting the specific database where they are allocated and include them for development.
...
In case you have to edit the script, “Synchronize” button will establish the connection to the DB and update what we modified in Wayfast.
Recap
Wayfast brings multiple tools to develop your projects. In this document, we learnt how to create and edit function’s statements. Then we can easily synchronize the objects between database and application by selecting the correct instance.
...