Mixin providing MySQL database operations for the JsonRestStores framework (v2.0.33). Enables implementQuery, implementPut, implementPost, implementGet, and implementDelete for MySQL backends. Works with SimpleSchema for schema validation. Designed for Node.js REST APIs using a pattern similar to Active Record. No active release cadence; last update was archival. Key differentiator: integrates seamlessly with JsonRestStores' store-per-route architecture, handling SQL generation for CRUD and query operations automatically.
npm install jsonreststores-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a store backed by MySQL using MySQLMixin, with schema, URL, and CRUD handlers.
Consider migrating to a maintained framework like Objection.js or Sequelize.
Ensure both peer deps are installed and compatible version ranges are satisfied.
Use only if you are already on JsonRestStores; otherwise avoid.
Remove paramIds from searchSchema definition; they are injected automatically.
Define empty implement* methods if you need to add custom logic; otherwise rely on mixin defaults.
Run 'npm install jsonreststores' in your project.
Ensure both jsonreststores and jsonreststores-mysql are installed and compatible.
Use 'import { Schema } from 'simpleschema'' instead of 'import Schema from 'simpleschema''.No dependency data recorded yet.