MongoDB V2 Data Types | Transformation Data Types | Range and Description |
|---|---|---|
Array | String | An ordered list of zero or more elements of a single fixed type. |
Array¹ | Array | - |
Binary | Binary | 1,67,77,216. Represented as a hexadecimal number. |
Boolean | Integer | 1=true, 0=false |
BSON Null | String | 1 to 104,857,600 characters |
BSON Regular Expression | String | 1 to 104,857,600 characters |
BSONTimestamp | String | 1 to 104,857,600 characters |
Code (Javascript) | String | 1 to 104,857,600 characters |
Date | Date/Time | Jan 1, 0001 A.D. to Dec 31, 9999 A.D. (precision to millisecond) |
Decimal128 | Decimal | Precision 1 to 38 digits. You cannot use decimal values with precision greater than 38. |
Double | Double | 1.7E +/- 308 (15 digits) |
Int32 | Integer | -2,147,483,648 to 2,147,483,647 |
Int64 | Bigint | -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
Integer | Integer | -2,147,483,648 to 2,147,483,647 |
Float | Double | 1.7E +/- 308 (15 digits) |
MaxKey | String | 1 to 104,857,600 characters |
MinKey | String | 1 to 104,857,600 characters |
Null¹ | Empty String | ~~~~ |
Object | String | 1 to 104,857,600 characters |
Object¹ | Struct | - |
ObjectID | String | 1 to 104,857,600 characters |
ObjectID¹ | Struct | - |
String | String | 1 to 104,857,600 characters |
Symbol | String | 1 to 104,857,600 characters |
¹ Applies only to mappings in advanced mode. | ||