mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Add mongodb
This commit is contained in:
parent
e999988ec3
commit
c29010dcf0
@ -15,7 +15,7 @@ namespace MongoDb.Ado.data
|
||||
public readonly static Dictionary<string, IQueryHandler> Items = new Dictionary<string, IQueryHandler>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
{ "find", new QueryFindHandler() },
|
||||
{ "aggregate", new QueryFindHandler() },
|
||||
{ "aggregate", new QueryAggregateHandler() },
|
||||
};
|
||||
public DbDataReader Handle(string operation, IMongoCollection<BsonDocument> collection, string json)
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ namespace MongoDb.Ado.data
|
||||
public readonly static Dictionary<string, IQueryHandlerAsync> Items = new Dictionary<string, IQueryHandlerAsync>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
{ "find", new QueryFindHandlerAsync() },
|
||||
{ "aggregate", new QueryFindHandlerAsync() },
|
||||
{ "aggregate", new QueryAggregateHandlerAsync() },
|
||||
};
|
||||
public async Task<DbDataReader> HandleAsync(string operation, IMongoCollection<BsonDocument> collection, string json)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user