Inserting a Row in the Database

We can create a new row in just one simple SQL transaction called from a Node.js function

In your Cloud Backend interface :
- Click on API tab
- New function button


Then you can write your function like this. Note that we receive the parameters: firstName, lastName, and email that we will insert in the 'users' table

Click on 'Try' button and check on your table :

📘  NoteThis function uses our NPM package: appdrag-cloudbackend on NPM