일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Inventory
- 포톤
- 해시
- QueryDSL
- unityui
- Unity
- UE4
- 문자열
- 프로그래머스
- Unity3d
- 스파르타내일배움캠프
- Photon
- FSM
- 이분탐색
- 유클리드호제법
- 유니티
- 워크플로
- C++
- 언리얼엔진
- 순열
- 구현
- 알고리즘
- c#
- UnrealEngine
- Firebase
- 스파르타내일배움캠프TIL
- 스택
- 내일배움캠프
- Unity2D
- BFS
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