We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec89a80 commit ee00283Copy full SHA for ee00283
source/reference/operator/aggregation/sortArray.txt
@@ -74,7 +74,7 @@ descending (``-1`` ).
74
75
{
76
input: <array-of-documents>,
77
- sortBy: { <document-field>: {sort-direction> }
+ sortBy: { <document-field>: <sort-direction> }
78
}
79
80
Sort by Value
@@ -88,7 +88,7 @@ sort or -1 for descending sort in the ``sortBy`` parameter.
88
89
90
91
- sortBy: { sort-direction> }
+ sortBy: <sort-direction>
92
93
94
Considerations
0 commit comments