{"library":"egg-mysql-ex","type":"library","category":null,"description":"MySQL plugin for the Egg.js framework (current stable version: 2.x, latest 3.0.0-RC11). It provides a thin wrapper around ali-rds, offering convenient CRUD operations, connection pooling, and transaction support. Key differentiators: seamless integration with Egg.js lifecycle and configuration, supports multi-instance databases, and follows Egg's convention-over-configuration plugin model. Release cadence is irregular; major version updates may align with Egg.js breaking changes. Not to be confused with other MySQL libraries—this is Egg-specific and not a general-purpose driver.","language":"javascript","status":"active","version":"3.0.0-RC11","tags":["javascript","egg","eggPlugin","egg-plugin","mysql","database"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install egg-mysql-ex","imports":["// No direct import; configured in plugin.js\n// config/plugin.js:\nexports.mysql = { enable: true, package: 'egg-mysql' };","const result = await app.mysql.query('SELECT * FROM users');","const client = app.mysql.get('db1');\nconst result = await client.query('SELECT * FROM users');"]},{"cmd":"yarn add egg-mysql-ex","imports":[]},{"cmd":"pnpm add egg-mysql-ex","imports":[]}],"homepage":"https://github.com/eggjs/egg-mysql#readme","github":"https://github.com/eggjs/egg-mysql","docs":null,"changelog":null,"pypi":null,"npm":"egg-mysql-ex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}