mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update mongodb
This commit is contained in:
@@ -77,6 +77,8 @@ namespace MongoDb.Ado.data
|
|||||||
return val.AsDecimal;
|
return val.AsDecimal;
|
||||||
case BsonType.ObjectId:
|
case BsonType.ObjectId:
|
||||||
return val.AsObjectId.ToString();
|
return val.AsObjectId.ToString();
|
||||||
|
case BsonType.Binary:
|
||||||
|
return val.AsBsonBinaryData.Bytes;
|
||||||
// 其他类型可以扩展
|
// 其他类型可以扩展
|
||||||
default:
|
default:
|
||||||
return val;
|
return val;
|
||||||
|
Reference in New Issue
Block a user