fpm-plugin-mysql
v1.3.4
Published
## Basic Info - Run Action Hook Name - `INIT` - `BEFORE_SERVER_START` - ExtendModule Name: `mysql` - Exception - [x] `E.Nbiot.SEND_ERROR` ```javascript const E = { Nbiot: { SEND_ERROR: { errno: -10041,
Downloads
41
Readme
FPM-PLUGIN-MYSQL
Basic Info
- Run Action Hook Name
INIT
BEFORE_SERVER_START
- ExtendModule Name:
mysql
- Exception
- [x]
E.Nbiot.SEND_ERROR
const E = { Nbiot: { SEND_ERROR: { errno: -10041, code: 'SEND_ERROR', message: 'An error occured when the mqtt server publish a message' } } }
- [x]
getDependencies()
- [x]
[]
- [x]
- The Reference Of The
Bind()
Method An BizModule Object Contains The Functions- [ ]
send
- [ ]
Usage
$ npm i fpm-plugin-mysql --save
Config In config.json
"mysql":
{
"host": "localhost",
"database": "db",
"username": "root",
"password": "root",
"showSql": true
}
Code
fpm.M.findAsync()......