일단 하나를 해보자

250x250
  • 분류 전체보기
    • 스프링
    • 회고록
    • 디자인패턴
    • TodayILearned 공부기록용
    • 코딩테스트
      • 릿코드
      • 백준
      • 프로그래머스
    • 자바
    • 데이터베이스
      • mySQL
    • 노드 node.js
    • 프로젝트
    • 프론트
      • Html Css
      • 리액트 react
      • reactNative
      • NextJs
    • 블록체인
      • 솔리디티
    • 웹 공부
    • php
    • 읽어보면 좋은 글
      • 면접기술질문 정리
  • 홈
  • 태그
  • 방명록
/ /

hasOne

  • mysql 관계설정 hasOne,hasMany,belongsTo 2022.03.10

mysql 관계설정 hasOne,hasMany,belongsTo

청어와물메기 2022. 3. 10. 16:39
2022. 3. 10. 16:39
728x90

nodejs책 340쪽 필기함

 

공식문서도 좋음

 

 

https://sequelize.org/v4/manual/tutorial/associations.html

 

Tutorial | Sequelize | The node.js ORM for PostgreSQL, MySQL, SQLite and MSSQL

Associations This section describes the various association types in sequelize. When calling a method such as User.hasOne(Project), we say that the User model (the model that the function is being invoked on) is the source and the Project model (the model

sequelize.org

 

728x90

'데이터베이스 > mySQL' 카테고리의 다른 글

mysql procedure 프로시저 생성 및 실행 (구본문자 DELIMITER )  (0) 2022.05.10
mysql 변수설정 set, declare 사용하려고 하는데...흠..  (0) 2022.05.10
mysql 기본 명령어  (0) 2022.05.10
mysql 이자액 계산기 식 만들기 (값 띄우기select,넣기insert,삭제TRUNCATE)  (0) 2022.05.09
[mySQL 이미지 저장] BLOB말고 문자열로 하는 이유 (+string문자열 VAR / CHAR 차이)  (0) 2022.04.29
PREV 이전 1 NEXT 다음

+ Recent posts

Powered by Tistory, Designed by wallel
Rss Feed and Twitter, Facebook, Youtube, Google+

티스토리툴바