JH 개발 블로그

  • 홈
  • 태그
  • 방명록

prisma client undefined 1

[Prisma Client] null and undefined

null 과 undefined 차이점 null 은 value(= 값) 이다. undefined 는 "do nothing" 을 의미한다. 다음 예에서 emailInput 이 null 이면, email 필드를 undefined 로 해보자. (= do nothing 하라는 뜻) const update = await prisma.user.update({ where: { id: 1, }, data: { name: "Petunia", email: emailInput != null ? emailInput : undefined, // If null, don't include in update! }, }); function getEmail() { const random = Math.floor(Math.random() *..

🌸 GraphQL 2022.05.10
이전
1
다음
더보기
프로필사진

  • 📊 분류 전체보기 (281)
    • 💻 컴퓨터 개론 (9)
    • 🧚🏻‍♂️ HTML , CSS (17)
    • 🤹🏻‍♀️ Javascript (33)
      • 🥎 Typescript (6)
    • 💎 React (29)
    • 🌿 Node (8)
    • 🌸 GraphQL (13)
    • 🐍 Python (2)
    • 🐦 Flutter (27)
    • 🦜 Swift (17)
    • 👩🏻‍💻 TIL (52)
    • 🏃‍♀️ 코테 연습 (12)
    • 👕 자격증 후기 (4)
    • 🔧 정보처리기사(필기) (1)
    • 💡 자료구조 (21)
    • 🦇 Linux (21)
    • 👯‍♀️ 프로젝트 (2)
    • ⏳ 회고 (5)

Tag

권오흠 자료구조, cocoapods could not find compatible versions for pod, flutter unity, sliverOverlapAbsorber, 안드로이드 암시적 인텐트, sliverOverlapInjector, flutter unity webgl, flutter restoration, flutter sliver 탭바 가려짐, flutter initialRoute home, 전화기기 지원 중단, flutter webview white, flutter ios webview white screen, arcore 지원, flutter unity 연동, flutter restorationMixin, flutter unity widget, flutter cocoapods could not find compatible versions for pod, flutter Sliver TabBarView hide, flutter initialRoute,

최근댓글

공지사항

  • 공지사항🤗

Archives

Calendar

«   2026/04   »
일 월 화 수 목 금 토
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

방문자수와주신 분들 🙇🏻‍♀️

  • 오늘 :
  • 어제 :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바