https://sequelize.org/docs/v6/core-concepts/model-querying-basics/#specifying-attributes-for-select-queries

 

Model Querying - Basics | Sequelize

Sequelize provides various methods to assist querying your database for data.

sequelize.org

 

원하는 콜롬보다 원하지 않는 콜롬이 더 많을 때 exclude 사용하면 편리

Model.findAll({
  attributes: { exclude: ['baz'] }
});

+ Recent posts