I am trying to filter my query by the attributes of the joining table
I have 2 tables Cities and Categories which I am associating through a third table CityCategory
For Sequelize v3 it appears the syntax is closer to what you suggested, that is:
include: [{ model: Category, where: {year: 2015}, attributes: ['id'] }]