Super-orm is a Node.js MySQL ORM module (v0.1.3) with caching support via Redis and multi-connection (master/slave) capability. It bundles TypeScript definitions. Unlike many ORMs, it automatically routes SELECT queries to slave connections and other statements to master. It also supports JSON field serialization/deserialization natively. The lib is in early development (major version 0) with limited docs and unknown release cadence.
npm install super-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows full setup: initializing Manager with Redis and MySQL connections, registering a Model with JSON field, and fetching by primary key.
Use only promises or callbacks, not both in the same call.
Pin to exact version and expect breaking changes on minor bumps.
Either provide redis config or set ttl to 0 to disable caching (check API).
Ensure first connection has write access and slaves are read-only.
Define all fields in the model, or use raw connection.query.
Use `const { Manager } = require('super-orm');`Ensure Redis is running and config matches; or omit redis to disable caching.
Run `npm install mysql` alongside super-orm.