mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update mongodb
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using MongoDB.Bson;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -471,6 +472,13 @@ namespace SqlSugar.MongoDb
|
||||
}
|
||||
return dic;
|
||||
}
|
||||
|
||||
internal static BsonValue GetBsonValue(bool isMember, BsonValue field)
|
||||
{
|
||||
if (isMember) return "$" + field;
|
||||
else
|
||||
return field;
|
||||
}
|
||||
//public static object ConvertDataByTypeName(string ctypename,string value)
|
||||
//{
|
||||
// var item = new ConditionalModel() {
|
||||
|
Reference in New Issue
Block a user