Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize left join attributes

Users.findAll({
    include: [
        {
            model: Role, 
            as: 'roles',
            attributes: ['columnNameToInclude']
        }
    ]
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #left #join #attributes
ADD COMMENT
Topic
Name
5+9 =