[SERVER-2436] $ne: /bar/ Created: 30/Jan/11  Updated: 03/Dec/15  Resolved: 03/Dec/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Vladimir Dronnikov Assignee: David Storch
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

any


Participants:

 Description   

Please, consider .find({foo:{$ne:/bar/}}) be not throwing but instead internally converted to corresponding .find({foo:{$not:/bar/}})

TIA,
--Vladimir



 Comments   
Comment by David Storch [ 03/Dec/15 ]

We're not currently planning any further action on this ticket. Closing as Won't Fix.

Comment by Vladimir Dronnikov [ 31/Jan/11 ]

Well in "foo: /a/" we don't mean equality to /a/, right?, but instead we do mean match /a/. To be symmetric, inequality might mean "not match".

Comment by Eliot Horowitz (Inactive) [ 31/Jan/11 ]

it doesn't sound right to me

foo not equal to /a/
as opposed to
foo not /a/

but happy to see what other's consens is.

Generated at Thu Feb 08 02:59:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.