[DOCS-1771] Comment on: "manual/reference/operator/exists.txt" Created: 02/Aug/13 Updated: 03/Nov/17 Resolved: 02/Aug/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: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
version 2.4.5 Location: http://docs.mongodb.org/manual/reference/operator/exists/#op._S_exists |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 10 years, 28 weeks, 5 days ago | ||||||||
| Description |
|
> Documents that contain the field but has the value null are not returned. It's not the case:
|
| Comments |
| Comment by Sam Kleinman (Inactive) [ 02/Aug/13 ] |
|
$exists tests if a field is in a document, and shouldn't return documents that contain fields with null values. The documentation currently says the following: "Documents that contain the field but has the value null are not returned." I believe this is consistent with the above case. |