Total.js platform
Total.js platform

JavaScript platform for everyone

How can I use multiple databases in Total.js with help of SQL Agent?

How can I use multiple databases in Total.js with help of SQL Agent?

SQL Agent is a simple Node.js module for working with RDBMS and NoSQL databases. It supports PostgreSQL, MySQL, SQL Server and MongoDB.


  • supports mixing of RDMBS with NoSQL

Create a definition file e.g. database.js:

Usage in code: