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
{{ message }}
Repository navigation
findAndCountAll() and count() pollutes options.includes object #4191
findAndCountAll() and count() pollutes options.includes object that was passed to the call. This is a problem if I want to store and reuse query options sometime later.
Activity
mickhansen commentedon Jul 27, 2015
We need
options = Model.$optClone(options)about here: https://github.com/sequelize/sequelize/blob/master/lib/model.js#L1494harish2704 commentedon Aug 24, 2015
Yes. I can confirm that at-least Mode.count method pollutes the options .
Because of this bug, A typical pagiante function like this
Is not working.