[Crazy idea] Sequelize backed models. Build dynamically sequelize models based on schema and give users ability to perform code based queries. For example :
Model.findAll({ |
attributes: ['foo', 'bar'] |
});
|
or
// As handlebars helper {{ helpers.sequelize.Users.findAll( { attributes:['foo', 'bar'] } ) }} |