mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update MongoDb
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user