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.
![](https://bufferwall.com/download/B20210318T000000649_1200x600.jpg)
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-07-11Achieve more with Total.js: Introducing Total.js Enterprise
- 2024-07-01June report 2024
- 2024-06-11j-Exec UI component
- 2024-06-11Introduction to jComponent
- 2024-06-07May report 2024
- 2024-05-25Data Caching for fast loading Total.js Apps
- 2024-05-02April report 2024
- 2024-04-19Installing Total.js v5: A Comprehensive Guide
- 2024-04-08How to create REST API using Total.js LessCode
- 2024-04-04Create UI parts visually with the power of Total.js UI Builder