Cell - typeorm Component
尚未翻译
本页目前只有英文版,下面是英文原文。
TypeORM data sources, repositories and @Transactional() for Cell backends.
Install
bash
npm install @celljs/typeorm mysql2Database drivers are not dependencies of this package: install the one your data source uses (mysql2, pg, better-sqlite3, …). mysql2 is an optional peer dependency; when the driver of a configured data source is missing, the application fails at startup with CELL_TYPEORM_DRIVER_MISSING and the command that installs it.