-
[MongoDB] data types공부/MongoDB 2022. 1. 11. 23:39
- text
- boolean
- true/false
- number
- NumberInt (int32) / NumberLong (int64) / NumberDecimal
shell에 숫자를 입력하면 기본적으로 float형(64bit)으로 저장함.
mongodb shell이 javascript 기반인데, javascript는 integer와 floating point value 간 구분을 하지 않기 때문
- ObjectId
- ISODate("2022-01-11") / Timestamp(1641908460)
- Embedded Document
- Array
'공부 > MongoDB' 카테고리의 다른 글
[MongoDB] embedded documents / references 활용 추천 (0) 2022.01.17 [MongoDB] embedded documents & arrays (0) 2022.01.09 [MongoDB] projection (0) 2022.01.09 [MongoDB] find( ) (0) 2022.01.09 [MongoDB] CRUD Operations (0) 2022.01.09