[DOCS-433] clarify that the server does short-circuit evaluation of $and operators Created: 22/Aug/12 Updated: 13/Sep/12 Resolved: 13/Sep/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Barrie Segal | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 11 years, 22 weeks, 6 days ago | ||||
| Description |
|
when using $and, if the first condition returns false, mongodb will skip the subsequent conditions, instead of evaluating them separately. |
| Comments |
| Comment by auto [ 13/Sep/12 ] |
|
Author: {u'date': u'2012-09-13T10:00:45-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: |
| Comment by auto [ 13/Sep/12 ] |
|
Author: {u'date': u'2012-09-13T09:58:57-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: merge: |
| Comment by auto [ 13/Sep/12 ] |
|
Author: {u'date': u'2012-09-13T09:54:02-07:00', u'email': u'kay.kim@10gen.com', u'name': u'kay'}Message: |