{
"_id": "f23linff23fkhuh2i23kl", // ObjectId
"name": "이재문", // str
"age": 28, // int
"address": {
"City": :"Seoul",
"Gu": "Mapo-Gu",
} // document
}데이터형
- null
- boolean
- int
- str
- date
- regex
- list
- document
- ObjectId
- binary
- js code
- 날짜 문자열
배열에 쿼리, 배열 내용을 통해 인덱스 사용가능
depth가 늘어날 수 있다.
_id의 기본 형태
12byte 스토리지를 사용하여 24자리 16진수 문자열 표현
타임스탬프, 랜덤, 카운터 값으로 생성