Update mongodb

This commit is contained in:
sunkaixuan
2025-10-04 16:25:42 +08:00
parent 7832ab747d
commit af0c0bcd3d

View File

@@ -171,6 +171,10 @@ namespace SqlSugar.MongoDb
else
{
var obj = MongoDbDataReaderHelper.ConvertBsonValue(item);
if (obj is DBNull)
{
obj = null;
}
resultList.SetValue(obj, index);
}
index++;