{"library":"simple-sql-model","type":"library","category":null,"description":"A lightweight, Rails-style model wrapper around the `sql` library for Node.js. Version 0.9.4 provides CRUD operations, query methods (findOne, findMany, count), hooks (before/after create/update/destroy), and foreign key reference expansion. It relies on ES6+ features (async/await, classes) and requires Node >=4.8.1. The package is explicitly marked as unstable and not recommended for production use. It is database-agnostic, supporting any SQL dialect that the `sql` module supports (e.g., PostgreSQL, MySQL). Release cadence is irregular; the last commit was in 2019.","language":"javascript","status":"active","version":"0.9.4","tags":["javascript","sql","model","class","util","orm","postgres","postgresql","mysql"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install simple-sql-model","imports":["const Model = require('simple-sql-model')","import Model = require('simple-sql-model')","const Model = require('simple-sql-model')\nModel.configure({ connection, table, columns })"]},{"cmd":"yarn add simple-sql-model","imports":[]},{"cmd":"pnpm add simple-sql-model","imports":[]}],"homepage":"https://github.com/danawoodman/simple-sql-model#readme","github":"https://github.com/danawoodman/simple-sql-model","docs":null,"changelog":null,"pypi":null,"npm":"simple-sql-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}