2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By Definition, A a Function is a group of statements that, together, performs a task. In DBSync, Functions are categorized into two types 

...

as:

  1. Standard Functions 
  2. User Defined Functions 
Panel
Custom

Standard Functions

Custom Standard Functions, or built in functions refers Functions, refer to specific function Function by name. Functions are available to all users of a project, . If a project is imported, the same files and and functions Functions, from the original project is , are available to the cloned project.

No Format
  Note 1: Functions are code sensitive.
 Note 2: When you are using functionsFunctions, the string objects must be enclosed in single quotes .

The Standard Functions are listed, in detail, in the iPaaS section. Click on the Standard Functions to learn about the inbuilt Functions offered by our DBSync iPaaS.

Panel

User Defined Functions 

User-Defined functions are those functions that are defined by the user from the DBSync platform. Functions are used for code reuseability and to save time and space. 

At present, DBSync platform supports creation of UDF in JavaScript.

Benefits are :

  1. It provides modularity. As a result, a user can create once and then, reuse it across any project that allows create once and reuse n number of times. 
  2. Easy code reuseability. You just have to call Functions by its name to reuse it.