读取
Mongo 数据类型 | 内部类型 |
int, Long | Long |
double | Double |
string, array | String |
date | Date |
boolean | Boolean |
bytes | Bytes |
写入
内部类型 | Mongo 数据类型 |
Long | int, Long |
Double | double |
String | string, array |
Date | date |
Boolean | boolean |
Bytes | bytes |
Mongo 数据类型 | 内部类型 |
int, Long | Long |
double | Double |
string, array | String |
date | Date |
boolean | Boolean |
bytes | Bytes |
内部类型 | Mongo 数据类型 |
Long | int, Long |
Double | double |
String | string, array |
Date | date |
Boolean | boolean |
Bytes | bytes |