Tag Archive

#sequelize

Articles and technical notes tagged with #sequelize.

1 published article
SEQUELIZE AND TYPESCRIPT
By Carlos Rodrigues
2 min read

SEQUELIZE AND TYPESCRIPT

As many .NET developers transitioning to the world of Node, I started looking for an ORM. After some research, I found sequelize which seems widely adopted by the community. I’m using typescript, and I quickly found the way to define the model with sequelize a bit too verbose, and especially a duplication of the typescript class. That’s when I discovered sequelize-typescript, which provides this bridge, and leverages typescript’s typings, so mapping can be transparent if so we wish. All it takes is to extend a base Model class, and some annotations. Continue readingSEQUELIZE AND TYPESCRIPT

2021-03-11 Read more
Read more about SEQUELIZE AND TYPESCRIPT