[DOCS-1824] Comment on: "manual/reference/aggregation/operator-conditional.txt" Created: 19/Aug/13  Updated: 03/Nov/17  Resolved: 09/Sep/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Zack Brown
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/aggregation/operator-conditional/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/aggregation/eq/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/aggregation/operator-conditional


Participants:
Days since reply: 10 years, 23 weeks, 1 day ago

 Description   

The pages states:

$cond - "Evaluates a an expression and returns a boolean."

As far as I've understood, by looking at the detailed docs for $cond, $cond doesn't necessarily return a boolean (it could, though), but rather "evaluates an expression and returns one value for a "truthy" evaluation and one for a "falsy"."



 Comments   
Comment by auto [ 10/Sep/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1824: edits
Branch: master
https://github.com/mongodb/docs/commit/d89f2b751068fb4b5acf2aec6cf70e59ab34d7e3

Comment by auto [ 10/Sep/13 ]

Author:

{u'username': u'Zackrobat', u'name': u'Zack Brown', u'email': u'zack.brown@10gen.com'}

Message: DOCS-1824: Comment on: manual/reference/aggregation/operator-conditional.txt

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/20c405c973465264938bf6678af87d47e6424eb9

Generated at Thu Feb 08 07:41:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.