How can I use multiple databases in Total.js with help of SQL Agent?
This blog post describes how to use multiple databases with Total.js framework 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:
Other posts from Total.js Platform
- 2024-09-13Total.js v5: #06 Understanding File Routing
- 2024-09-09Total.js v5: Defining Routes for Internal Errors
- 2024-09-09Total.js V5: Dynamic websocket routing
- 2024-09-09Total.js V5: Websocket Routing
- 2024-09-09Total.js v5: Understanding standard routing
- 2024-09-03Beginner Guide to Total.js UI #3: Data Binding (Part 1)
- 2024-09-02August report 2024
- 2024-08-19Total.js UI: Coding the Tic-Tac-Toe Game
- 2024-08-13Total.js UI :Two Beginner Projects to understand Paths and Data Binding
- 2024-08-09A simple authentication mechanism in Total.js