Softmotions/ejdb — pull request #109 by chrismanning (2014-04-08 16:01:25+00:00)
Title: Negate $elemMatch

Enable ability to negate (with outer $not) an $elemMatch query. This will result in matching documents which do not contain a matching array, including those with no array.
Appropriate tests have been added. Some of the existing tests and data had to be modified to adequately test both this change and the existing $elemMatch functionality.