Why Switch?
Sequelize requires a lot of ceremony — defining models withDataTypes, manually syncing associations, and verbose query syntax. IlanaORM follows the Eloquent convention-over-configuration approach: less boilerplate, more readable code.
Model Definition
Querying
Creating Records
Updating Records
Deleting Records
Associations / Relationships
Pagination
Transactions
Migration Path
- Replace
sequelize.define(...)with a class extendingModel - Move association definitions into model methods (
hasMany,belongsTo, etc.) - Replace
include: [...]with.with(...) - Replace
Op.like,Op.gt, etc. with.where('col', 'like', '%value%') - Delete the Sequelize
models/index.jswiring file — IlanaORM doesn’t need it
