So this is kind of in reference to this question How to use an include with attributes with sequelize?
The question helped me to grab the attributes of the joined table, but when I grab the attributes, the keys would start with a singular version of the table grabbed. So from the example above the resulting object returned should be something like...
{
id: yada,
name: yada,
bar.version: yada,
bar.changed: yada
}
Is there anyway to exclude the table name (bar) in front of the keys?