From aa9343a832d9d88b40b6a844b9ccc0cdf133fa99 Mon Sep 17 00:00:00 2001 From: zVictor Date: Wed, 28 Nov 2012 22:53:16 -0200 Subject: [PATCH] Wrong counting on $size. --- source/reference/operator/size.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/operator/size.txt b/source/reference/operator/size.txt index b711a483fb4..4d734c18b32 100644 --- a/source/reference/operator/size.txt +++ b/source/reference/operator/size.txt @@ -14,7 +14,7 @@ $size db.collection.find( { field: { $size: 2 } } ); returns all documents in ``collection`` where ``field`` is an array - with 2 or more elements. For instance, the above expression will + with 2 elements. For instance, the above expression will return ``{ field: [ red, green ] }`` and ``{ field: [ apple, lime ] }`` but *not* ``{ field: fruit }`` or ``{ field: [ orange, lemon, grapefruit ] }``. To match fields with only one