[ ERD Diagram ] TypeORM과 다르게 Mongoose 에서는 어떻게 외래키를 표현할까 궁금해서 기록하게 되었다. 특히 마켓 모델 을 구현 해야되는데, 다른 모델의 PK(Primary Key)를 참조해야되는 컬럼이 존재할 때 어떻게 코드를 작성해야될지 몰랐다. 그래서 공식다큐먼트를 읽기로했다 :) [참고] 공식 다큐먼트들 Documentation | NestJS - A progressive Node.js framework Nest is a framework for building efficient, scala
[NestJS+MongoDB+Mongoose] 외래키
[ ERD Diagram ] TypeORM과 다르게 Mongoose 에서는 어떻게 외래키를 표현할까 궁금해서 기록하게 되었다. 특히 마켓 모델 을 구현 해야되는데, 다른 모델의 PK(Primary Key)를 참조해야되는 컬럼이 존재할 때 어떻게 코드를 작성해야될지 몰랐다. 그래서 공식다큐먼트를 읽기로했다 :) [참고] 공식 다큐먼트들 Documentation | NestJS - A progressive Node.js framework Nest is a framework for building efficient, scala
https://ek12mv2.tistory.com/336