[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/ |
||
| 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: |
| Comment by auto [ 10/Sep/13 ] |
|
Author: {u'username': u'Zackrobat', u'name': u'Zack Brown', u'email': u'zack.brown@10gen.com'}Message: Signed-off-by: Sam Kleinman <samk@10gen.com> |