{"library":"ruoyi-eggjs-mysql","type":"library","category":null,"description":"Egg.js MySQL plugin based on mysql2, providing connection pool management and a simple API wrapper (select, insert, update, delete). Version 1.1.15 supports egg 2.x and 3.x (not 1.x). Key features: optional camelCase field conversion (v1.1.7+), timezone and dateStrings options (v1.1.14+), built-in transaction support, and automatic SQL execution time logging in development. Distinguishes from egg-mysql by being based on mysql2, offering camelCase conversion, and stricter Node.js version requirement (>=16).","language":"javascript","status":"active","version":"1.1.15","tags":["javascript","egg","eggPlugin","egg-plugin","mysql","mysql2"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install ruoyi-eggjs-mysql","imports":["// config/plugin.js\nmodule.exports = {\n  mysql: {\n    enable: true,\n    package: 'ruoyi-eggjs-mysql',\n  },\n};","const result = await app.mysql.select('SELECT * FROM users');","const db = app.mysql.get('db1');"]},{"cmd":"yarn add ruoyi-eggjs-mysql","imports":[]},{"cmd":"pnpm add ruoyi-eggjs-mysql","imports":[]}],"homepage":"https://github.com/undsky/ruoyi-eggjs-mysql#readme","github":"https://github.com/undsky/ruoyi-eggjs-mysql","docs":null,"changelog":null,"pypi":null,"npm":"ruoyi-eggjs-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}