Skip to content

Commit 9c79cdb

Browse files
committed
Fix $limit autocomplete
1 parent abb9137 commit 9c79cdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aggregation.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
{ "name": "$indexStats", "description": "Returns statistics regarding the use of each index for the collection." },
5252
{
5353
"name": "$limit",
54-
"description": "Passes the first n documents unmodified to the pipeline where n is the specified limit. For each input document, outputs either one document (for the first n documents) or zero documents (after the first n documents)."
54+
"description": "Passes the first n documents unmodified to the pipeline where n is the specified limit. For each input document, outputs either one document (for the first n documents) or zero documents (after the first n documents).",
55+
"insertText": "\"\\$limit\": ${1:number}"
5556
},
5657
{
5758
"name": "$listSampledQueries",

0 commit comments

Comments
 (0)