diff options
Diffstat (limited to 'src/mongo/db/s/shard_local.h')
-rw-r--r-- | src/mongo/db/s/shard_local.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/shard_local.h b/src/mongo/db/s/shard_local.h index df625905d7c..696bd665c3d 100644 --- a/src/mongo/db/s/shard_local.h +++ b/src/mongo/db/s/shard_local.h @@ -70,6 +70,10 @@ public: const std::string& dbName, const BSONObj& cmdObj) override; + Status runAggregation(OperationContext* opCtx, + const AggregationRequest& aggRequest, + std::function<bool(const std::vector<BSONObj>& batch)> callback); + private: StatusWith<Shard::CommandResponse> _runCommand(OperationContext* opCtx, const ReadPreferenceSetting& unused, |