diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_coll_stats.idl')
-rw-r--r-- | src/mongo/db/pipeline/document_source_coll_stats.idl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/pipeline/document_source_coll_stats.idl b/src/mongo/db/pipeline/document_source_coll_stats.idl index 09da6d65065..0f146db02cf 100644 --- a/src/mongo/db/pipeline/document_source_coll_stats.idl +++ b/src/mongo/db/pipeline/document_source_coll_stats.idl @@ -46,7 +46,7 @@ structs: type: optionalBool # Do not abstract this literal, since it is parameterizing the stage like an enum rather than representing # real user input. - query_shape: parameter + query_shape_literal: false DocumentSourceCollStatsSpec: description: Specification for a $collStats stage. strict: true @@ -56,29 +56,29 @@ structs: description: A request to include latency stats in the $collStats output. type: LatencyStatsSpec optional: true - query_shape: literal + query_shape_literal: true storageStats: description: Adds storage statistics to the return document. type: StorageStatsSpec optional: true - query_shape: literal + query_shape_literal: true count: description: Adds the total number of documents in the collection to the return document. type: object validator: callback: validateObjectIsEmpty optional: true - query_shape: literal + query_shape_literal: true queryExecStats: description: Adds query execution statistics to the return document. type: object validator: callback: validateObjectIsEmpty optional: true - query_shape: literal + query_shape_literal: true $_requestOnTimeseriesView: description: When set to true, $collStats stage requests statistics from the view namespace. When set to false, $collStats stage requests statistics from the underlying collection. cpp_name: requestOnTimeseriesView type: optionalBool - query_shape: parameter + query_shape_literal: false |