하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

[prisma] group by 예제

model Store { dosi_text String sigu_text String ... } // 모델이 위와 같다면 아래와 같이 group by 해서 가져올수 있다. const stores = await client.store.groupBy({ by: ['dosi_text','sigu_text'], }) 간단한건데 시간이 조금 많이 해매었다. 이유가 뭐냐면 중간에 model값을 바꿨던건데, 모델값을 바꾸기 위해 npx prisma generate 명령어를 쓰는데, 이걸 하고나서 바로 next.js 프로젝트에 바로 적용이 안되었던거다. next.js 프로젝트를 종료하고 다시 실행하니 이상없이 적용이 되었다.

  • format_list_bulleted Programming/prisma
  • · 2023. 6. 29.
  • textsms

[angularJs] select ng-option 사용 방법

angularjs version : 1.4.9 1234 -선택-Colored by Color Scripter cs 특이한점은 option model이 obj일 경우 동일한 값을 초기값으로 주어도 초기값이 변경되지 않는다. 해당 option model의 값을 참조해서 넣어야 실제로 적용된다. :: codepen.ioSee the Pen angularjs 1.4.9 select ng-option by homin ahn (@beans9) on CodePen.

  • format_list_bulleted Programming/AngularJS
  • · 2016. 6. 13.
  • textsms
  • navigate_before
  • 1
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #javascript
  • #JPA
  • #GIT
  • #springboot
  • #css
  • #Vue
  • #AngularJS
  • #error
  • #MySQL
  • #sts
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바