Eliot Horowitz
d40f16a6da
a little cleaning of Matcher::parseClause
2011-09-21 21:14:55 -04:00
Eliot Horowitz
33bda54e9a
can put $comment in normal query SERVER-3789
2011-09-21 21:14:55 -04:00
Aaron
e87dd3385c
SERVER-3264 make nin matching the opposite of in
2011-09-13 08:38:18 -07:00
Aaron
2749b350f1
SERVER-3545 uassert if elemMatch specified with ithin in or nin
2011-08-08 23:10:24 +00:00
gregs
79fcca753b
protect against errors on js scope cleanup - features3.js
...
Also reduce # of race conditions in features3.js
2011-07-25 12:29:30 -04:00
Aaron
fc3f834320
SERVER-3192 require atomic specifier to be top level
2011-06-15 21:03:06 -07:00
Aaron
d7908f6e0d
matcher cleaning and comments
2011-06-15 21:03:06 -07:00
Aaron
d4b71c4756
standardize matcher variables
2011-06-15 21:03:06 -07:00
Aaron
0b32ad4e6d
SERVER-3192 SERVER-2585 allow nested or clauses in queries, opaque to indexing system
2011-06-15 21:03:04 -07:00
Aaron
36a3b7aed3
SERVER-1089 add some checks for multiple where fields
2011-06-03 16:27:31 -04:00
Aaron
37d36b7cf1
SERVER-1735 type:10 query matches null value but not missing value, hence an index check is insufficient to do a match
2011-06-02 14:54:56 -04:00
Aaron
69713ca560
SERVER-1089 don't allow nesting or within and for now, as it will complicate query parsing for index bounds
2011-06-02 11:46:29 -04:00
Aaron
c2f4f2c8da
SERVER-1089 merge assert codes
2011-06-02 10:55:39 -04:00
Aaron
635d2a680d
SERVER-1089 add and operator
2011-06-02 10:23:33 -04:00
agirbal
1725803c20
SERVER-2579: all v8 object creation is now lazy.
...
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.
Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
Aaron
f799371da9
SERVER-958 Update matcher and matcher usage for better non single key range support
2011-04-25 13:29:50 -07:00
Mathias Stearn
07502672a2
Add support for s (DOT_ALL) regex option SERVER-2943
2011-04-14 16:59:33 -04:00
gregs
9193ff5d00
look inside indexed arrays for regexes fix for SERVER-2247
2011-04-06 15:44:55 -04:00
Aaron
bf43709ad2
comment
2011-04-05 16:50:56 -07:00
Aaron
4a773a43b3
SERVER-2897 Fix exists operator in certain array index match cases
2011-04-05 13:14:16 -07:00
Aaron
3a5326d9b4
SERVER-2322 Allow specification of non boolean value with exists operator
2011-04-05 13:14:16 -07:00
Aaron
f978632279
SERVER-393 Allow rejecting document using non exists indexed fields when an exists constraint is present
2011-04-05 13:14:16 -07:00
Aaron
daee9aca49
SERVER-2896 matcher retMissing refactoring
2011-04-05 13:14:16 -07:00
Aaron
a29f3931af
SERVER-2896 matcher retMissing refactoring
2011-04-05 13:14:16 -07:00
Aaron
78aeb2e112
SERVER-2896 check isNot when handling exists and missing field
2011-04-05 13:14:16 -07:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
Aaron
273dda0b61
SERVER-2829 doc
2011-03-25 11:31:11 -07:00
Aaron
4993a1bf79
SERVER-2829 arrays within an in clause should match themselves
2011-03-25 11:31:10 -07:00
Eliot Horowitz
c31c7f3229
remove( { x : undefined } ) should not delete everything in the collection SERVER-2384
2011-01-21 02:51:21 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
de3564331d
fix Matcher speed with $all SERVER-2289
2010-12-25 02:04:09 -05:00
Eliot Horowitz
193fbaf47a
$elemMatch works on primitives SERVER-1264
...
still some issues with indexes though
2010-09-24 15:57:20 -04:00
Mike Dirolf
6d67ec37d0
minor: recursive -> nested
2010-08-19 10:15:04 -04:00
Aaron
cde8c8bec7
SERVER-1211 don't use simplifiedQuery for or negation
2010-07-16 03:47:26 -07:00
Aaron
74b36196e1
SERVER-1159 match array with null
2010-07-08 00:55:11 -07:00
Aaron
eb9e26c66e
SERVER-109 matcher or pop
2010-06-01 16:07:35 -07:00
Aaron
3a484848ea
SERVER-109 cleanup
2010-06-01 12:57:12 -07:00
Aaron
0b0fd9cd61
SERVER-109 construct index matcher from full doc matcher
2010-06-01 12:36:34 -07:00
Eliot Horowitz
acc5d31ed2
some better asserts
2010-05-15 07:52:23 -04:00
Aaron
521136dfc0
SERVER-109 $or checkpoint
2010-05-12 10:38:58 -07:00
Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04:00
Aaron
ccb496081e
SERVER-1005 more correct error messages
2010-04-26 17:24:40 -07:00
Aaron
45048fa94f
Merge branch 'master' of github.com:mongodb/mongo
2010-04-26 17:23:31 -07:00
Aaron
51daf493a1
SERVER-1005 $nor
2010-04-26 17:22:33 -07:00
Dwight
67e3503b9d
bson cleaning
2010-04-22 10:31:16 -04:00
Aaron
948256f3df
merge assert code
2010-04-13 15:27:53 -07:00
Aaron
6d0c5735f0
Merge branch 'master' of github.com:mongodb/mongo
2010-04-13 15:18:03 -07:00
Aaron
9ff7914250
SERVER-1004 $or with other top level fields
2010-04-13 15:17:34 -07:00
Eliot Horowitz
61ae5fa244
a bunch of refactoring for mongos linking
2010-04-13 15:23:57 -04:00
Aaron
12a6aecb30
SERVER-1003 top level $or by itself
2010-04-12 17:48:55 -07:00