msq
A mysql tools
How to use
const msq = const config = "host": "xxx" "user": "xxx" "password": "xxx" "database": "xxx" "port": xxxconst model = /** * Use co + thunkify as example 下面使用 co + thunkify 做例子 */ const co = const thunkify =
More config
msg use origin method "mysql.createPool" to create a pool, so your config can be the same as those use for mysql, and the config is the same
also, you can use pool's method like this
modelpool
see more: mysql document