mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update MongoDb
This commit is contained in:
parent
54264afde5
commit
341e314b70
@ -59,14 +59,13 @@ namespace MongoDb.Ado.data
|
||||
var (operation, collectionName, json) = ParseCommand(_commandText);
|
||||
var collection = GetCollection(collectionName);
|
||||
return ExecuteHandlerFactory.Handler(operation, json, collection);
|
||||
}
|
||||
|
||||
}
|
||||
public override object ExecuteScalar()
|
||||
{
|
||||
var (operation, collectionName, json) = ParseCommand(_commandText);
|
||||
var collection = GetCollection(collectionName);
|
||||
return new ExecuteScalarHandler().Handle(operation,collection, json);
|
||||
}
|
||||
}
|
||||
protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
|
||||
{
|
||||
var (operation, collectionName, json) = ParseCommand(_commandText);
|
||||
|
Loading…
Reference in New Issue
Block a user