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
- 검색
- flex-1
- Angular Router
- 앵귤러 애니메이션
- TAILWIND
- formgroup
- angular animation
- angular route
- Oracle LISTAGG 사용 예시
- egov spring ajax 사용 예시
- angular button
- Router
- 호버
- route
- summary
- mysql if
- 앵귤러 모달
- Ionic modal
- scroll
- angular modal
- ApexChart
- ajax 사용 예시
- 아이오닉 스크롤 이벤트
- 스크롤 이벤트 감지
- prisma
- 옵저버블
- 셀렉트박스 커스텀
- 모달
- modal
- 스크롤 이벤트
Archives
- Today
- Total
깜놀하는 해므찌로
Prisma Or And 활용 간략 예시 본문
반응형
SMALL
return await this.prismaService.admin.findMany({
where: {
OR: [
{ id: { contains: keyword, mode: 'insensitive' } },
{ username: { contains: keyword, mode: 'insensitive' } },
],
},
orderBy: {
id: 'asc',
},
});
}
반응형
LIST
'IT' 카테고리의 다른 글
failed to apply cleanly to the shadow database. 에러 해결 Prisma migrate reset (0) | 2023.06.12 |
---|---|
Angular Partial 활용 예시 (0) | 2023.06.12 |
Ionic modal pass data to component 사용 예시 Angular (0) | 2023.06.12 |
Ionic 기반 Angular form 활용 예시 / formGroup (0) | 2023.06.11 |
Angular 현재 url 확인 방법 예시 (0) | 2023.06.10 |