[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:
Related
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: DOCS-433 edits
Branch: master
https://github.com/mongodb/docs/commit/299b003549d7dd39c8f2187a6b4e3be12402fe3e

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: DOCS-433
Branch: master
https://github.com/mongodb/docs/commit/176f4c82a82fcb8ebe20067e7fce6b38864b51db

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: DOCS-433 operator does a short-circuit eval of expression
Branch: master
https://github.com/mongodb/docs/commit/964045de152fc5bd05f568c9f0be2ec3d2d3d381

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