Data Type Mapping
Data Type Mappings
The driver maps types from the data source to the corresponding data type available in the schema. The table below documents these mappings.
MongoDB | CData Schema |
ObjectId | bson:ObjectId |
Double | double |
Decimal | decimal |
String | string |
Object | string |
Array | bson:Array |
Binary | string |
Boolean | bool |
Date | datetime |
Null | bson:Null |
Regex | bson:Regex |
Integer | int |
Long | long |
MinKey | bson:MinKey |
MaxKey | bson:MaxKey |