{"library":"mysql-activerecord","type":"library","category":null,"description":"A lightweight MySQL query builder for Node.js built on top of node-mysql. Version 0.8.6 is the latest stable release, with low release cadence and minimal maintenance. It provides a fluent API for building SELECT, INSERT, UPDATE, DELETE queries with automatic escaping and method chaining. Unlike full ORMs, it gives direct control over SQL while simplifying common patterns. It bundles node-mysql internally, so no extra dependencies are needed. Supports reconnection, raw queries, joins, grouping, and having clauses. However, it is limited to MySQL and ties closely to the callback-based node-mysql driver, lacking promise support.","language":"javascript","status":"maintenance","version":"0.8.6","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-activerecord","imports":["const Db = require('mysql-activerecord');","const db = new Db.Adapter({ server: 'localhost', username: 'root', password: '12345', database: 'test' });","const Db = require('mysql-activerecord');"]},{"cmd":"yarn add mysql-activerecord","imports":[]},{"cmd":"pnpm add mysql-activerecord","imports":[]}],"homepage":"https://github.com/martintajur/node-mysql-activerecord","github":"git://github.com/martintajur/node-mysql-activerecord","docs":null,"changelog":null,"pypi":null,"npm":"mysql-activerecord","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}