Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- save/update
- RedirectService
- 논블록킹 성능
- jar 배포
- 월급루팡 일지
- R2DBC Paging
- 오블완
- 티스토리챌린지
- 개발 어렵당.ㅠ
- 노드간 통신
- LPOS
- pinpoint
- 플루터
- 애자일 싫타
- hbase 저장공간 설정
- 핀포인트
- formik
- ㅉ때
- pinpoint 2.5.3
- Armeria
- nGinder
- fake jwt
- 7879
- Loki 로그
- Ingress Controller Fake
- reids
- intellij
- jsonMarshaller
- OIDC
- UnsupportedOperationException
Archives
- Today
- Total
목록QueryDSL (1)
대머리개발자
[코틀린] queryDSL
☆ 연관된 테이블을 조회하는 2가지 스타일 로또 테이블(lotto)과 그에 대한 통계 테이블(lottoSummary)을 조인에서 하나의 그릇으로 조회를 하고자 한다. 방법 1) 파일썬에서 잠깐 봤던 튜플이 있어서....너무 좋았다. ☆☆☆ fun getLatelyWin() : Tuple? { return jpaQueryFactory .select(lotto, summary) .from(lotto, summary) .where(lotto.turn.eq(summary.id).and(lotto.type.eq("W"))) .orderBy(lotto.type.desc()) .limit(1) .fetchOne() } 조인해서 한방 쿼리 ! Hibernate: select l1_0.id, ..., l2_0.lotto..
개발이야기/코틀린
2023. 6. 13. 18:28