| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 |
Tags
- 스택
- UnrealEngine
- 언리얼엔진
- 해시
- Firebase
- 구현
- 포톤
- Unity
- 스파르타내일배움캠프
- BFS
- 워크플로
- C++
- Unity3d
- Unity2D
- 알고리즘
- Photon
- FSM
- 유클리드호제법
- unityui
- 스파르타내일배움캠프TIL
- QueryDSL
- Inventory
- 프로그래머스
- 순열
- 문자열
- 유니티
- 내일배움캠프
- c#
- 이분탐색
- UE4
Archives
- Today
- Total
목록QueryDSL (1)
개발 낙서장
QueryDSL 페이징? 기존에 레포지토리에서 페이징 된 값을 받을 때처럼 Pageable 객체를 만들어 페이지 정보를 보내 QueryDSL로 작성된 쿼리문을 통해 받아오면 된다. List content = queryFactory.selectFrom(todo).where(todo.user.eq(user)) .offset(pageable.getOffset()) .limit(pageable.getPageSize()) .fetch(); Long count = queryFactory.select(todo.count()).from(todo) .where(todo.user.eq(user)).fetchOne(); return new PageImpl(content, pageable, count); 특정 User의 할 ..
Java
2024. 3. 12. 21:05