A lightweight MySQL ORM for Node.js that simplifies database and table creation, as well as insert queries. Currently at version 1.0.13, it supports automatic database/table creation and an insert method with explicit value type handling. Designed for simple use cases with minimal configuration. Lacks advanced query capabilities (select, update, delete), connection pooling, or migration support. Released with an unknown cadence; no recent updates.
npm install tiny-mysql-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate MysqlHandler with database and table creation, then perform an insert query using explicit value types.
Ensure values are nested correctly per the example.
Do not include an 'id' column in the columns array when using auto-creation.
For pooling, consider using mysql2 with promise wrapper instead.
Ensure database and tables exist before performing insert operations.
Use const { MysqlHandler } = require('tiny-mysql-orm');Run 'npm install mysql'
Check that MysqlHandler is instantiated with 'new' and call 'insert()' on the instance.