Skip to main content

Why Switch?

Sequelize requires a lot of ceremony — defining models with DataTypes, 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

  1. Replace sequelize.define(...) with a class extending Model
  2. Move association definitions into model methods (hasMany, belongsTo, etc.)
  3. Replace include: [...] with .with(...)
  4. Replace Op.like, Op.gt, etc. with .where('col', 'like', '%value%')
  5. Delete the Sequelize models/index.js wiring file — IlanaORM doesn’t need it