{"library":"modelar-mysql-adapter","type":"library","category":null,"description":"A database adapter for the Modelar ORM/ODM framework to connect to MySQL or MariaDB databases. Current stable version is 3.0.7. It is bundled internally by Modelar (since version 3), so users typically do not install it separately. Releases are infrequent and tied to Modelar's release cycle. Key differentiator: it seamlessly integrates with Modelar's DB.init() configuration, automatically switching engine between InnoDB (MySQL) and Aria (MariaDB) and supporting transactions out of the box. It provides a thin layer over the mysql2 driver, handling connection pooling and query execution.","language":"javascript","status":"active","version":"3.0.7","tags":["javascript","Modelar","MySQL","Adapter","typescript"],"install":[{"cmd":"npm install modelar-mysql-adapter","imports":["import { DB } from 'modelar'","const adapter = require('modelar-mysql-adapter')","DB.init({ type: 'mysql', database: 'mydb', host: 'localhost', port: 3306, user: 'root', password: 'pass' })"]},{"cmd":"yarn add modelar-mysql-adapter","imports":[]},{"cmd":"pnpm add modelar-mysql-adapter","imports":[]}],"homepage":"https://github.com/hyurl/modelar-mysql-adapter#readme","github":"https://github.com/hyurl/modelar-mysql-adapter","docs":null,"changelog":null,"pypi":null,"npm":"modelar-mysql-adapter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Fri Jun 05","next_check":"Thu Sep 03","install_tag":null}}