Jan Aagaard Meier
Jan Aagaard Meier
Try quoting (`"`) the column name. What is the type of the column?
``` js Model.findAll().on('sql', function (sql) {}); ``` _edit_ no longer possible
This is not built in, and since this is not a feature rquest we've see before, it's probably low on the list Your best bet would probably be to hook...
Perhaps you could cache it by stringifying the options object in some way .. Hmm dunno. I'll tag it as a feature request but as i said, proably low on...
Sql listeners have beeen removed after we went from event emitters to promises I have been thinking a bit about the way to do this, and I have an idea...
@subjectix even if the sql doesn't hit the database, the call will likely still be async due to hooks. If you look at the code for findAll you'll see that...
They might affect it, but I believe that's just a limitation we'll have to live with @mickhansen don't you agree, that we'd need to use co internally in order to...
Ah yeah tin that case, it doesn't make any sense to add `co`. Users will just have to do `let sql = yield User.findAll` if the want something that looks...
@joakimbeng @nczz is correct. There is currently no way to enforce a timezone in sequelize. Sequelize simply assumes that your data is in UTC (which should be more clearly documented,...
@tomwang1013 see my comment in #2590 - you can manually overridethe timezone