Module core.libraries.meska.providers.database.mysql
Metrics-Skill-Achievement Framework (MESKA)
The MySQL database provider.
Module Overview
Functions
| load() | Loads the mysql provider. |
| tpl:Exec(q, cb) | The execution wrapper. |
| tpl:Escape(str) | The escaping wrapper. |
| unload(idx) | Unloads the mysql provider. |
Fields
| tpl.queryGateway | The query gateway. |
| tpl.escapeGateway | The escape gateway. |
- load()
-
Loads the mysql provider.
Returns:
-
number provider index.
- tpl:Exec(q, cb)
-
The execution wrapper.
Parameters:
- q string The query.
- cb func Callback Function.
Returns:
-
function The query gateway.
- tpl:Escape(str)
-
The escaping wrapper.
Parameters:
- str string The string.
Returns:
-
function The escape gateway.
- unload(idx)
-
Unloads the mysql provider.
Parameters:
- idx number The provider index.