0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
Eliot Horowitz
406ed2dc3f fix idempotency of initial $inc SERVER-717 2010-03-08 23:52:12 -05:00
Eliot Horowitz
91f3fcf6df inc embedded repl fix SERVER-716 2010-03-08 23:33:10 -05:00
Eliot Horowitz
d3da0d7bbc array match value mod update( {a.x : 5 } , { a.~.y ... } ) SERVER-631 2010-03-06 22:12:58 -05:00
Aaron
2691d5bde9 SERVER-652 add const 2010-03-03 00:03:55 -08:00
Aaron
bbbe0aaf31 SERVER-652 process array elements in correct order 2010-03-02 12:29:54 -08:00
Aaron
bccf8f4113 SERVER-652 basic array index unset support 2010-03-01 15:04:01 -08:00
Eliot Horowitz
b32a47826e $addToSet : { $each : ... } SERVER-628 2010-02-27 22:05:59 -05:00
Eliot Horowitz
a023fc861b fix upsert with addToSet SERVER-630 2010-02-12 14:43:27 -05:00
Dwight
92e756eabc background index building 2010-02-04 14:25:49 -05:00
Eliot Horowitz
556c5a6d7d $addToSet mostly working SERVER-176 2010-01-26 17:29:06 -05:00
Eliot Horowitz
77f1686f37 comments MINOR 2010-01-26 11:58:33 -05:00
Eliot Horowitz
47b67b74b4 fix $inc with doubles 2010-01-26 11:54:45 -05:00
Eliot Horowitz
0e7d5c6d01 refactor update so Mod and ModSet are re-usable. design is clean - still more cleaning to be done and some speed checking
single updates are 5% slower, multi-updates are 2.5x faster
2010-01-25 17:23:37 -05:00
Eliot Horowitz
0c814f1af9 correcting where const gets removed 2010-01-21 13:24:18 -05:00
Eliot Horowitz
3c527d8c43 ModSet cleaning 2010-01-21 12:29:18 -05:00
Dwight
d8e9164616 rename Matcher class 2010-01-19 11:04:52 -05:00
Eliot Horowitz
53b5dae92e check for bad $set where set to an object with a . SERVER-261 2010-01-16 11:16:30 -05:00
Eliot Horowitz
3efd53fc85 use dfa for $mod parsing 2009-12-30 17:03:53 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
e19c177dec fix $bit test 2009-12-24 13:11:10 -05:00
Eliot Horowitz
62a4aef8fd start work on bit operators SERVER-503
only ugly syntax works and not idempotent yet
2009-12-21 17:32:01 -05:00
Eliot Horowitz
de3db911a0 when doing upsert, don't copy $ filters SERVER-492 2009-12-16 21:53:12 -05:00
Mathias Stearn
2abcf7cf18 fix warning 2009-12-14 12:38:26 -05:00
Mathias Stearn
cb16e7c62b $unset support in update. SERVER-134 2009-12-11 16:02:53 -05:00
Eliot Horowitz
85799367e7 $pull uses a matcher now, so partial matches are supported
and things like { $pull : { a : { x : { $gt : 5 } } } }
SERVER-452
2009-12-11 12:33:16 -05:00
Eliot Horowitz
03da5382fb removed old update code 2009-12-10 17:02:47 -05:00
Eliot Horowitz
341cd83dd1 finish + switch to simpler+cleaner new object from mod code 2009-12-10 16:38:47 -05:00
Eliot Horowitz
4119148e97 almost all operators done on recursive update version 2009-12-10 15:59:09 -05:00
Eliot Horowitz
9bf50a42e3 more update cleaning 2009-12-10 14:29:14 -05:00
Eliot Horowitz
719cf8940b windows compile 2009-12-08 17:11:50 -05:00
Eliot Horowitz
00a5220ec7 solaris/win compile? 2009-12-08 17:04:32 -05:00
Eliot Horowitz
d672078581 update re-write almost done, faster and cleaner 2009-12-08 17:00:25 -05:00
Dwight
4f6a0fbf62 compile vcproj 2009-12-08 11:20:22 -05:00
Eliot Horowitz
03b5ae2078 some update refactoring so can test ModSet directly 2009-12-07 23:41:58 -05:00