Hacker News new | ask | show | jobs
by k__ 4137 days ago
Sequelize has the build method, which persists automatically.

Couldn't the rest be achieved by simply adding a few (update, delete) methods to the model classes?

1 comments

The create method on model's persist automatically. Build just creates an instance without saving it to the database.
Really? I thought it was the other way around...