Releases: fxjs-modules/orm
Releases · fxjs-modules/orm
Synchronous query first ORM!
In 1.10.0, all query/request to databse is synchronous first! That means NO unnecessary callback composition-decomposition when you call APIs such as model.createSync
, instance.saveSync
, etc.
- ✨ built-in
knex
object in DMLDriver, you can get it byorm.driver.knex
- ✨ built-in database-connection-pool,
fib-pool
function would be called when query executed, enable pool-query by- passing
pool
option when connect database(such asmysql://root:@localhost:3306/schema?pool=true
) - or setting
connection.pool
as trueORM.settings.set('connection.pool', true)
model.settings.set('connection.pool', true)
)
- passing
- All classical apis compatible 😊
- 🚀 better model & association hooks.
v1.10.0-alpha.1
Release v1.10.0-alpha.1
v1.10.0-alpha
Release v1.10.0-alpha
Fix bad implementation in past two MINOR versions
❗️At least the past two minor versions(1.9.x, 1.8.x), the process of batching model.create
is unpredictable. It's WRONG, as it works in most cases.
✅ I fix this bug in v1.9.8, upgrade to avoid unpredictable issues/problems in you production.