본문 바로가기
카테고리 없음

[Sequalize] find(select)시 원하는 컬럼만 가져오기

Model.find( {

 attributes : [ '컬럼명1', '컬럼명2', ....],

 where : { .... } 

});