sequelize-embed icon indicating copy to clipboard operation
sequelize-embed copied to clipboard

Add Sequelize options to base queries

Open papigers opened this issue 7 years ago • 0 comments

It would be great if the options parameter would include sequelize options like fields and where to be used on the base root query.

So, for instance, adding embed.update(User, user, Association, { where: <some filter> }) would update only users matching the filter, and any matching associations for them.

Other than that, great package! been very helpful!

papigers avatar Aug 26 '18 21:08 papigers