mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update mongodb
This commit is contained in:
@@ -3,7 +3,9 @@ using MongoDB.Bson.Serialization.Serializers;
|
||||
using MongoDB.Driver;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
|
||||
namespace MongoDb.Ado.data
|
||||
@@ -24,7 +26,8 @@ namespace MongoDb.Ado.data
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException($" NotSupportedException: {operation} ");
|
||||
ExecuteHandlerFactory.Handler(operation,json, collection);
|
||||
return new DataTable().CreateDataReader();
|
||||
}
|
||||
return queryHandler.Find(collection, doc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user