Async / Await with DBMS module in Total.js
I have modified the DBMS module by adding a great new feature for better using Async / Await operators between the DBMS module and Total.js framework. Read more.
Async / Await with DBMS module in Total.js
I have improved the DBMS module by adding a new minor feature that can enhance development and save a lot of time. I have extended the .callback()
method by supporting $
argument that solves auto error handling in Total.js Schemas, Tasks, or Controllers.
callback($)
returns a new Promise
with auto error handling.- update your
DBMS
module from NPM:$ npm update dbms
- it works only with the Total.js framework
- Documentation
.callback($)
For understanding
Example
Routing:
Schema:
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