Update mongodb

This commit is contained in:
sunkaixuan
2025-06-22 20:34:41 +08:00
parent 7b419221d7
commit 53d0c73876

View File

@@ -12,7 +12,7 @@ namespace SqlSugar.MongoDb
public static bool IsFieldNameJson(string trimmed) public static bool IsFieldNameJson(string trimmed)
{ {
return trimmed.StartsWith("{ \"fieldName\" : "); return trimmed.StartsWith("{ \""+UtilConstants.FieldName+"\" : ");
} }
public static bool IsFieldNameJson(BsonDocument doc) public static bool IsFieldNameJson(BsonDocument doc)
{ {