From 292e67297ede05dfffb3be7581bc2b510489a4c4 Mon Sep 17 00:00:00 2001 From: Larry Battle Date: Sat, 24 Jan 2015 00:47:23 -0600 Subject: [PATCH] Fixed $strcasecmp comparison to match output `13q4` should have been used, not `13q3`. --- source/reference/operator/aggregation/strcasecmp.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/operator/aggregation/strcasecmp.txt b/source/reference/operator/aggregation/strcasecmp.txt index 4794206ff62..ad1b2999b49 100644 --- a/source/reference/operator/aggregation/strcasecmp.txt +++ b/source/reference/operator/aggregation/strcasecmp.txt @@ -49,7 +49,7 @@ Consider a ``inventory`` collection with the following documents: The following operation uses the :expression:`$strcasecmp` operator to perform case-insensitive comparison of the ``quarter`` field value to -the string ``"13q3"``: +the string ``"13q4"``: .. code-block:: javascript @@ -59,7 +59,7 @@ the string ``"13q3"``: $project: { item: 1, - comparisonResult: { $strcasecmp: [ "$quarter", "13q3" ] } + comparisonResult: { $strcasecmp: [ "$quarter", "13q4" ] } } } ]