hapi-mariasql
This plugin is a collection of multiple plugins which are working together with mariasql.
It enables you currently to register the following plugins:
- my_pool_sql
- mariadb-transact - Currently disabled (incompatibilities to node 4.x.x, switch to 0.12 and hapi mariadb 1.0.x to use it)
Usage
To use my_pool_sql you don't need to define anything, this is the default option. If you want to use mariadb-transact, you need to add the parameter useTransact
.
For more Informations about the usage itself, please view the documentation of the projects listed and linked above.
my_pool_sql
var Hapi = ; var server = ;server; server; server; serverstart { console;} ;
mariadb-transact
var Hapi = ; var server = ;server; server; server; serverstart { console;} ;
License
MIT