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