synchronize 옵션을 활성화 할 시 이전에 삭제 또는 수정했던 테이블 설정값이 적용됨 해결방법 dist directory를 기준으로 table이 생생되도록 설정이 되어있어 dist를 삭제 후 새로 빌드
await this.commentRepository .createQueryBuilder('comment') .select('comment.postId AS postId') .addSelect('COUNT(*) AS commentCount') .groupBy('comment.postId') .getRawMany();
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.