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 | 29 | 30 | 31 |
Tags
- ubuntu 배포
- 소프트웨어 개발과 테스트
- AWS
- MongoDB Reference
- 레디스설치
- codepreosso
- AWS CloudTrail
- SpringProject
- Datamodel
- 몽고DB
- AWS NAT
- SrpingBoot
- AWS 요금
- JPA연관관계
- MongoDB DataModel
- codepresso
- aws ec2
- EC2 생성
- VPC EC2
- AWS Route53
- AWS NAT gateway
- AWS #CloudTrail #AWS로그
- Amazon Web Service
- 코드프레소
- MongoDB 참조
- AWS VPC
- MongoDB
- EC2 배포
- Loard Balancer
- 스프링 게시판
Archives
- Today
- Total
목록Datamodel (1)
정환타 개발노트

Data Model 이번에는 데이터 모델들에 대해 기술을 하겠다. MongoDB 또한 documents간의 관계를 설정할 수 있는데, 그러한 관계를 설정할 수 있는 모델 구조는 다음과 같다. One-to-One Relationship(일대일 관계) 두개의 document에 대해 일대일 관계로 구성할 수 있다. 아래의 예제에서는 후원자(patron)와 주소를 매핑하고 있고, 주소에는 후원자에 대한 reference가 포함된다("patron_id") { _id: "joe", name: "Joe Bookreader" } { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: "12345" } 하지만 만약 이름(name)..
Dev-Database/NoSQL
2020. 2. 5. 12:03