Instagram
youtube
Facebook
Twitter

MongoDB Data Types

MongoDB Data Types

Data Types                                      Description
String

A string is used to store data. A string must be UTF 8 valid in MongoDB.

Integer An integer is used to store the numeric value. It can be 32-bit or 64-bit. 
Boolean This data type is used to store boolean values, YES/NO values
Double It stores floating point values.
Arrays It stores multiple values into a single key.
Object Object datatype is used for embedded documents.
Min/Max Key This data compare a value against the lowest and highest bson elements.
Symbol It is generally used for languages that use a specific type.
Date This datatype stores the current date or time in UNIX time format. 
Null It is used to store null values