You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe they convert between ORM and POJO objects.
I wonder if Sequelizer caches decisions given a set of includes. If it doesn't, at least some SQL databases cache their strategy decisions for reuse. In such a case there could be a benefit in reusing a set of includes even if they return more data than needed vs customizing for every case. Should that be true, the proposed hook could be useful.
A Sequelize-specific hook like
serialize
is possible using something like https://github.com/hauru/sequelize-to-jsonThe text was updated successfully, but these errors were encountered: