diff --git a/src/docbkx/reference/mongodb.xml b/src/docbkx/reference/mongodb.xml index 7106f4e7e..4cd0ed4d9 100644 --- a/src/docbkx/reference/mongodb.xml +++ b/src/docbkx/reference/mongodb.xml @@ -2465,7 +2465,7 @@ project("a","b").and("foo").as("bar") // will generate {$project: {a: 1, b: 1, b In this introductory example we want to aggregate a list of tags to get the occurence count of a particular tag from a MongoDB - collection called "tags" sorted by the occurence count in + collection called "tags" sorted by the occurrence count in descending order. This example demonstrates the usage of grouping, sorting, projections (selection) and unwinding (result splitting).