fix the bug findAndCountAll not working on postgresql.#899
fix the bug findAndCountAll not working on postgresql.#899janmeier merged 6 commits intosequelize:masterfrom hackwaly:master
findAndCountAll not working on postgresql.#899Conversation
copy `where` array, avoid changed by internal.
|
Could you please provide a test case that needs this? This should be fixed by #884 - which is in master, but not npm, so you might need to update to that |
|
I'm sorry for my careless commits. |
|
Thanks for the test :) For some reason travis has not run your commits so I just tried them locally. The same problem is also present for other dialects, so fixing it for postgres only is not enough. I think you should use the optClone method in the count method like ion #884 |
|
That's just I want to say. |
…fy passed arguments`.
|
Is this ok? |
fix the bug `findAndCountAll` not working on postgresql.
|
Jup, very o.k. This is actually better than the fix in 884 so I removed that again since your PR covers all cases |
copy
wherearray, avoid changed by internal.