Aaron
4461c46f3f
SERVER-652 unset/array sets value to null, which makes more sense
2010-03-02 23:09:34 -08:00
Aaron
09b1285b95
merge
2010-03-02 22:43:31 -08:00
Mathias Stearn
86b8864440
fix appendNumber
2010-03-02 20:58:31 -05:00
Aaron
246109cc18
SERVER-652 simplify field name upper limit check, guard against setting string fields in arrays
2010-03-02 13:16:20 -08:00
Aaron
6a95b558e1
SERVER-652 basic support for set with indexed elements
2010-03-01 23:58:24 -08:00
Aaron
bccf8f4113
SERVER-652 basic array index unset support
2010-03-01 15:04:01 -08:00
Eliot Horowitz
59eb3a8b0c
32bit compile
2010-03-01 17:19:05 -05:00
Eliot Horowitz
dc29dbbb7c
appendNumber for nicer numbers in the shell
2010-03-01 17:14:23 -05:00
Eliot Horowitz
6ac50f8e9e
fix BSONElementCmpWithoutField and therefore BSONElementSet
2010-02-27 21:53:28 -05:00
Mathias Stearn
56bbdda127
Fix GENOID
2010-02-26 22:40:50 -05:00
Mathias Stearn
5bc4788ff4
Lower size for BSON literal macro to 64
2010-02-26 22:40:50 -05:00
Eliot Horowitz
f08ba724c3
checkpoint on $near op
2010-02-25 16:24:34 -05:00
Aaron
3f1befcda1
SERVER-252 checkpoint
2010-02-23 12:49:22 -08:00
Eliot Horowitz
6adaeeaa85
BSONSizeTracker - tracks how big actual bson objects created with a builder are
...
then can correctly size buffers from the beginning
using this is index creation, so when doing external sort, we have a more accurate memory estimate
fixes SERVER-651
2010-02-20 16:20:33 -05:00
Eliot Horowitz
d1e3572f45
re-hydrate index values
2010-02-16 16:24:23 -05:00
Mathias Stearn
a733d58f95
fix logic error in appendIntOrLL
2010-02-02 21:34:21 -05:00
Eliot Horowitz
cddedd78af
Merge branch 'master' of git@github.com:mongodb/mongo
2010-02-02 15:49:38 -05:00
Aaron
727e7201f7
Add boolean version of append()
2010-02-02 12:38:11 -08:00
Eliot Horowitz
ef206c16b2
BSONObjBuilder::appendIntOrLL - for admin/reporting sanity
2010-02-01 13:56:27 -05:00
Eliot Horowitz
813f5d6f28
Merge branch 'master' of git@github.com:mongodb/mongo
2010-01-28 17:31:19 -05:00
Mathias Stearn
58e7807a9b
size_t <-> int changes to fix win64 warnings
2010-01-28 17:33:33 -05:00
Eliot Horowitz
2c3e16caa3
isABSONObj for fast checking for Object/Array
2010-01-28 17:30:58 -05:00
Mathias Stearn
deb05df864
BSONObjBuilder::asTempObj() for peeking at state
2010-01-28 14:40:45 -05:00
Dwight
03abb654fb
eliminate findElement - use getField() instead
2010-01-28 13:41:51 -05:00
Eliot Horowitz
81001819be
better debugging for invalid objects
2010-01-26 10:03:30 -05:00
Aaron
8cfc0ef306
output large bindata types correctly
2010-01-25 15:45:29 -08:00
Eliot Horowitz
14a0217520
jsonString supports timestamp
2010-01-19 10:16:45 -05:00
Eliot Horowitz
6830dd0dd0
BSONObj::okForStorage - just checks for $ and . for
2010-01-16 11:08:32 -05:00
Mathias Stearn
30403cdeb5
Use indexes for regexes with escape chars SERVER-522
2010-01-14 23:24:22 -05:00
Eliot Horowitz
c9de787f17
basics os array element matching done SERVER-377 - doesn't work with query optimizer yet
2009-12-31 14:04:44 -05:00
Eliot Horowitz
0ab8149a8e
uassert/massert take error code SERVER-112
2009-12-28 16:43:43 -05:00
Eliot Horowitz
5d153aaee0
undefined should be false
2009-12-28 13:09:34 -05:00
Dwight
62522b905b
new killOp(opnumber)
2009-12-22 15:22:37 -05:00
Eliot Horowitz
a71ff07701
BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name
2009-12-18 01:50:43 -05:00
Eliot Horowitz
cb67dbc196
make getObjectid const SERVER-491
2009-12-16 13:41:01 -05:00
Mathias Stearn
eba078d053
Get rid of compareValues
2009-12-14 17:06:29 -05:00
Eliot Horowitz
98d4235cd7
better error messages
2009-12-11 13:50:16 -05:00
Eliot Horowitz
4119148e97
almost all operators done on recursive update version
2009-12-10 15:59:09 -05:00
Mathias Stearn
4987213af9
More sane version of extractFieldsDotted (not used anywhere yet)
2009-12-09 13:19:18 -05:00
Mathias Stearn
dcf3a10eea
Start using Date_t. Can anyone think of a better name?
2009-12-09 12:00:17 -05:00
Eliot Horowitz
aaf901fe6e
BSONObj::isValid makes sure objects are less than 8mb
2009-11-30 10:01:59 -05:00
Eliot Horowitz
7024b54491
make jstOID a simple type and fix field filter and findOne
2009-11-25 14:51:40 -05:00
Mathias Stearn
498d87fe5b
OID::newState to generate fresh "machine" bits
2009-11-23 11:33:27 -05:00
Dwight
37540835ac
compile visual studio
2009-11-16 15:55:03 -05:00
Eliot Horowitz
ca785a0400
BDONObjBuilder::apendAsNumber
...
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mathias Stearn
44498641ea
BSON_ARRAY macro
2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6
BSONArray class
2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b
BSONArrayBuilder class
2009-11-05 13:34:14 -05:00
Mathias Stearn
edd9f57e7f
BSONObjBuilder::numStr optimization
2009-11-05 13:34:14 -05:00
Eliot Horowitz
92d2689f1f
wrap( char * newName )
2009-11-04 14:52:01 -05:00