1.0.3 • Published 7 years ago

koa2-mysqlpool v1.0.3

Weekly downloads
4
License
ISC
Repository
-
Last release
7 years ago

MySqlPool for Koa2

Use Node.js + Mysql this platform, must use the MySQL connection pool. This is very efficient. Then the use of Koa2 framework, how to deal with the connection pool, management access to the acquisition and release.
  • This package has been published to npm, you can use npm i koa2-mysqlpool follow this middleware

eg.

  import mysqlPool from 'koa2-mysqlpool';
  import Koa from 'koa';
  const app = new Koa();

  app.use(mysqlPool());
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago