Quell is a MySQL Active Record solution for NodeJS based on Backbone.Model.
Quell does not support joins. It is built to manage individual records in a database on a per-row basis.
Quell does not manage table schema, but will automatically load schema and sanitize input against table column types.
npm install mysql quell
var mysql = ;var pool = mysql;var quell = ;var Book = ;var Author = ;var tperry =firstname: 'Terry'lastname: 'Pratchett';var nightWatch =title: 'Night Watch';tperry;
Visit quelljs.com for documentation.
From inside the repository root, run
npm install to install the test dependencies.
npm run test:unit to run just unit tests.
npm run test:int to run integration tests. Note, running the integration test requires a mktmp.io account configuration.
npm run test:cover to run all tests with code coverage.
npm run lint to validate ESLint rules.
npm test runs all of the above.