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