diff options
Diffstat (limited to 'src/mongo/db/pipeline/aggregate_command.idl')
-rw-r--r-- | src/mongo/db/pipeline/aggregate_command.idl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/aggregate_command.idl b/src/mongo/db/pipeline/aggregate_command.idl index da834d159f5..a30ce427578 100644 --- a/src/mongo/db/pipeline/aggregate_command.idl +++ b/src/mongo/db/pipeline/aggregate_command.idl @@ -62,6 +62,15 @@ types: serializer: ::mongo::serializeExplainToBSON deserializer: ::mongo::parseExplainModeFromBSON +structs: + PassthroughToShardOptions: + description: "options for commands requesting a per shard cursor" + fields: + shard: + description: "id of the shard to passthrough to" + type: string + unstable: true + commands: aggregate: description: "Represents the user-supplied options to the aggregate command." @@ -227,7 +236,7 @@ commands: unstable: true $_passthroughToShard: description: "An optional internal parameter for this request. If a shard key is specified, then that specific shard will be targeted." - type: object + type: PassthroughToShardOptions cpp_name: passthroughToShard optional: true unstable: true |