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