SQL base support library for Mythix ORM (npm: mythix-orm), providing shared SQL dialect infrastructure for MySQL, PostgreSQL, MSSQL, and Snowflake drivers. Version 1.12.2 is the latest stable release, with updates following Mythix ORM's release cadence. It is not intended for standalone use; instead, it serves as a dependency for SQL-specific driver packages. Key differentiators include a unified SQL generation layer and type-safe query building. Ships TypeScript definitions and requires Node >=18. Peer dependency on mythix-orm ^1.14.0.
npm install mythix-orm-sql-baseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a model extending SQLBase from mythix-orm-sql-base, using Mythix ORM's Model mixin.
Use import syntax or dynamic import() in CommonJS projects.
Run npm install mythix-orm alongside this package.
Use type: 'string' instead of type: 'text'.
Import SQLBase before Model, or use SQLBase(Model) directly.
Upgrade Node.js to v18.0.0 or higher.
Switch to import syntax or use dynamic import().
Run 'npm install mythix-orm'.
Usage: class User extends SQLBase(Model) { ... }