Update mongodb

This commit is contained in:
sunkaixuan
2025-05-06 19:43:40 +08:00
parent ee1799769a
commit 3c46dde2a4
4 changed files with 33 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ namespace MongoDb.Ado.data
return typeof(string);
}
if (obj == null) return typeof(object);
if (obj is BsonNull) return typeof(object);
return BsonTypeMapper.MapToDotNetValue(obj).GetType();
}
public override float GetFloat(int ordinal) => (float)GetValue(ordinal);