sequelize/sequelize — pull request #822 by joshm (2013-08-12 19:32:01+00:00)
Title: Add attributes to include eager loading options

This will allow a include call in object notation to have an attributes field like:

{model: mymodel, as: "mymodelas", attributes: ['field1', 'field2']}

Which will return the "selectedValues" filtered by the attributes field of the eager loaded includes.