Update mongodb

This commit is contained in:
sunkaixuan
2025-07-05 17:41:42 +08:00
parent 6f8444b819
commit 36e262c8de

View File

@@ -58,7 +58,7 @@ namespace SqlSugar.MongoDb
// 三元条件格式: { "$gt": ["$Age", 0] }
return new BsonDocument
{
{ op, new BsonArray { "$" + leftValue, rightValue } }
{ op, new BsonArray {UtilMethods.GetMemberName(leftValue), rightValue } }
};
}
else