From 39c9593b39cd0a345cc0ad0e282e31823ca34f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Leutha=CC=88user?= Date: Mon, 21 Oct 2013 17:29:56 +0200 Subject: [PATCH] DATAMONGO-782 - Fixed typo in documentation. Original pull request: #86. --- src/docbkx/reference/mongodb.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).