[SERVER-18457] Expand supported query operators with {$exists: true} partial index filter Created: 13/May/15 Updated: 02/Aug/18 Resolved: 16/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
The following query operators all require that the field they operate on be present in the document, and are thus compatible with {$exists: true}:
The following query operators allow using null to match documents where the field is omitted from the document, and are only compatible with {$exists: true} if the value is non-null:
The following query operators allow using non-null values to match documents where the field is omitted from the document, and are only compatible with {$exists: true} if the value is null:
|
| Comments |
| Comment by Githook User [ 16/May/15 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |