AppDrag Support Center

How to insert a row in the database and get the new row id


A common use case is to create a new row in your database then obtain the latest id inserted. Here is how you can do that simply in just one SQL transaction called from a Node.js function:



This function is using our NPM package: appdrag-cloudbackend on NPM

Other articles

Need More Help?

FAQ

If we've been asked before, it's in our Frequently Asked Questions!

Open FAQ

CHAT

Chat directly with the AppDrag team!

Open WebChat

Certified Partners

Not enough time to build your site? Find a Certified Partner to help you!

More Info