MySQL service. Requires 'mysql' module.
Classes
Type Definitions
-
MySQLTransaction(rollback)
-
Transaction function
Parameters:
Name Type Description rollback
function Calling this function will immediately rollback the transaction, transaction promise will resolve to this function argument Returns:
Returns promise resolving to transaction result- Type
- Promise