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.