{"library":"db3","type":"library","category":null,"description":"Db3 is a Node.js MySQL client (v4.2.1, stable) that replaces raw SQL queries with clean, readable method calls for common database operations like CRUD, schema management, and aggregate functions. It wraps the node-mysql library and targets developers who prefer an ORM-like API without full SQL knowledge. Key differentiators include shorthand methods for table operations and auto-inference of field types (e.g., 'id' becomes bigint primary key auto_increment). It uses callbacks (not Promises) and supports streaming. Node >= 4.0 required. Php alternative: Medoo.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install db3","imports":["const db3 = require('db3')","const db = db3.connect({host:'localhost', user:'root', password:'', database:'test'})","db.end(callback)"]},{"cmd":"yarn add db3","imports":[]},{"cmd":"pnpm add db3","imports":[]}],"homepage":"https://github.com/afanasy/db3","github":"https://github.com/afanasy/db3","docs":null,"changelog":null,"pypi":null,"npm":"db3","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}