epilogue
epilogue copied to clipboard
where 0 = 1 appended to list query count function
Hi guys. Sorry, I know this is a me issue. we can post fine, but any lists have got a WHERE 0 = 1 appended to the count, and thus nothing happens. It works fine for me but when my chum installs it does this. So I am a bit stuck debugging. Most obliged for any hints that you may think of, and apologies for clogging up the issue list.
@mark-lester can you provide a little more information here, like sample code for exhibit the issue: what the models look like, what your epilogue initialization code looks like, etc.
hi matt, I'll try and narrow this down, as said I am remote user debugging. I will post a conclusion or try and get closer and give you something to work with
the good news is, when I installed myself on aws it did the same thing, and then I realised this is a sequelize issue, cos the latest is 3.21, and that breaks, 3.19 was ok.
@mark-lester okay, looks like we have an issue with sequelize 3.21 then you're saying?
well yes. i stuck a message on the sequelize forum, but rather vague, of the form above.
posts work which is the funny thing
https://groups.google.com/forum/#!topic/sequelize/C6znexsJfto we've got something going on with $or, which has been changed.
@mark-lester I encountered this same sequelize behaviour in an unrelated project. Thanks for the helpful comment!