MySQL handler for smpoo tFrame ecosystem, built on Sequelize. Current version 8.1.20, maintained by smpoo team. Provides database check, ORM-based table initialization, SQL execution, and event-driven lifecycle. Tightly coupled with tframe-utility for configuration and events. Differentiated by integration with smpoo tFrame microservices framework. Release cadence irregular, primarily fixing bugs. v8.0.3 and below migrated to tframe-orms.
npm install tframe-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows initialization of MysqlEg with tframe-utility option and execution of a simple SQL query with event handling.
Use tframe-orms package instead.
Require('tframe-utility') and call getMysqlOption() before passing to constructor.Reference event names from tframe-utility's event enum.
Ensure MySQL database is created before calling dbCheck/init.
Use Sequelize query format; old dbExec parameters may need adjustment.
Use require('tframe-mysql') instead of import.Wrap config with tFrameUtility.getMysqlOption() before constructing MysqlEg.
Create database manually or use a migration tool before dbCheck/init.