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