0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

235 Commits

Author SHA1 Message Date
Eliot Horowitz
a71ff07701 BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name 2009-12-18 01:50:43 -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
Mathias Stearn
7133196d6b Make OID and MSGID increments atomic 2009-12-01 19:29:08 -05:00
dwight
6ef4bd7aa6 bug fix with OID generation on OS X (init order problem) 2009-11-24 18:09:20 -05:00
Mathias Stearn
498d87fe5b OID::newState to generate fresh "machine" bits 2009-11-23 11:33:27 -05:00
Mathias Stearn
33c85f0d84 Reduce probability of OID collisions 2009-11-23 11:33:27 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mike Dirolf
bb2e504105 use instead of for strict JSON DBRef encoding - more consistent 2009-11-10 17:28:51 -05:00
Mathias Stearn
edd9f57e7f BSONObjBuilder::numStr optimization 2009-11-05 13:34:14 -05:00
Mathias Stearn
0c48803a96 fix for boost 1.33. no BOOST_FOREACH :( 2009-11-02 13:46:25 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Mathias Stearn
8190d8db53 Support {:'foo', :'bar'} syntax in queries. SERVER-275 2009-10-19 14:30:46 -04:00
Mathias Stearn
4f83c02fcc cleanup detection. MINOR 2009-10-19 14:29:50 -04:00
Eliot Horowitz
117a9b68f9 some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match 2009-10-16 23:41:21 -04:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
Mathias Stearn
8037dc89bf Modify OID definition 2009-10-15 14:08:40 -04:00
Mathias Stearn
55a8da7715 codify some assumptions 2009-10-13 17:14:32 -04:00
Mathias Stearn
ed92b96011 BSON( "created" << DATENOW ) 2009-10-13 12:33:25 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Eliot Horowitz
e0462f7dcf refactor matcher a bit 2009-10-12 12:58:43 -04:00
Eliot Horowitz
a4f7dc11d7 $type operator - SERVER-336 2009-10-12 11:58:14 -04:00
Eliot Horowitz
9e46e19eeb BSONObj::md5() - some tests that can be copied to other drivers 2009-10-07 15:47:53 -04:00
Eliot Horowitz
283572bebc don't use Timestamp for other things since it may change 2009-10-05 17:13:55 -04:00
Eliot Horowitz
b8e956694f starting to rip out boost base64 2009-10-01 08:34:50 -04:00
Mathias Stearn
4a8c39140b group() now uses full key-names in output SERVER-296
Signed-off-by: Eliot <eliot@10gen.com>
2009-09-17 11:56:40 +08:00
Mike Dirolf
d78655dcf7 emit ObjectIds in strict JSON as { "$oid" : ... } 2009-09-15 12:14:00 -04:00
Mike Dirolf
bde9da79b6 minor: whitespace 2009-09-15 12:13:47 -04:00
Dwight
fd36a649d0 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-11 11:00:24 -04:00
Dwight
1bdc3762c6 GENOID feature for BSON in c++
BSON( GENOID << z << 3 );
2009-09-11 10:58:59 -04:00
Eliot Horowitz
cbb58275d2 make group work better with nulls 2009-09-10 15:45:31 -04:00
Eliot Horowitz
be97ce47b9 slight change to extractFields to make it more backwardsCompatible 2009-09-09 13:02:41 -04:00
Eliot Horowitz
0cb4b01795 fix SERVER-282 - BSONObj::extractFields 2009-09-09 12:25:02 -04:00
Eliot Horowitz
927078af78 normalize sort order - put null first 2009-09-09 11:51:23 -04:00
Eliot Horowitz
157df4a2cc fallout from Symbol change 2009-08-27 10:09:55 -04:00
Eliot Horowitz
da81fa2fcc symbol indexing fixes 2009-08-27 09:41:21 -04:00
Eliot Horowitz
5501d7c3ba make max for Timestamp better 2009-08-25 12:24:36 -04:00
Eliot Horowitz
76bf7fb38e spam MINOR 2009-08-25 11:09:20 -04:00
Eliot Horowitz
f5d28ebb1b fix numeric sort order when comparing non numeric types 2009-08-25 10:52:17 -04:00
Eliot Horowitz
a93d9e392c testorder 2009-08-25 10:30:35 -04:00
Eliot Horowitz
07b2685b46 unit test for numbers 2009-08-24 23:37:12 -04:00
Eliot Horowitz
1bc91420b3 fix ? case with SERVER-239 2009-08-20 21:35:19 -04:00
Eliot Horowitz
792c9ea3f7 $mod operator 2009-08-20 16:50:58 -04:00
dwight
8a145572a5 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/jsobj.cpp
2009-08-17 11:59:52 -04:00
dwight
8f33a37dce some comments and also simple unit tests for simpleRegex() 2009-08-17 11:58:18 -04:00
Eliot Horowitz
20ef2dbf68 a couple of more unit tests for simpleregex index filtering 2009-08-17 11:19:02 -04:00
Eliot Horowitz
8ad153d631 fix return of simpleRegex MINOR 2009-08-17 10:51:23 -04:00
Eliot Horowitz
3c93f8e575 fixed BSONElement::simpleRegex and changed return to a string. this fixes SERVER-239 2009-08-17 10:46:44 -04:00
Eliot Horowitz
d2dc0575e0 fix 32-bit compile MINOR 2009-08-10 20:46:08 -04:00