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

342 Commits

Author SHA1 Message Date
Eliot Horowitz
7024b54491 make jstOID a simple type and fix field filter and findOne 2009-11-25 14:51:40 -05:00
Eliot Horowitz
3b724c73ad use Helpers::findById for simpel _id lookups 2009-11-25 12:41:13 -05:00
Eliot Horowitz
1cdd8e8764 silly extraneous toString 2009-11-24 13:08:26 -05:00
Eliot Horowitz
4e9630f5d5 fail fast on capped delete SERVER-395 2009-11-23 23:34:17 -05:00
Eliot Horowitz
1e388b0e68 cleaning code for deleteObjects 2009-11-22 22:52:58 -05:00
Mike Dirolf
0d656aa047 skipping all results shouldn't be an error for count operations 2009-11-14 09:31:54 -08:00
Eliot Horowitz
2b3ecd70b5 fix count with no filter and limit 2009-11-12 16:01:35 -05:00
Eliot Horowitz
d0958dc115 made count command take optional size/limit params
and added size() method to js query object
SERVER-417
2009-11-12 14:27:18 -05:00
Eliot Horowitz
768e231da7 some db command cleaning 2009-11-11 13:30:11 -05:00
Dwight
7b8640f468 comment 2009-11-03 09:09:37 -05:00
Eliot Horowitz
39645a2739 removing dead code 2009-11-02 11:00:49 -05:00
Eliot Horowitz
d22098f810 get rid of deep in Matcher 2009-11-02 10:51:42 -05:00
Eliot Horowitz
a782eb24c3 get rid of deep on Cursor::getsetdup 2009-11-02 10:47:29 -05:00
Mathias Stearn
52f075cb13 cleanup. fillQueryResultFromObj always returned true. MINOR 2009-10-26 11:20:45 -04:00
Eliot Horowitz
860a94f852 fix count w / $all issue SERVER-382 SERVER-320 2009-10-22 21:40:45 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -04:00
Eliot Horowitz
529167b0f5 split all the update code out of query.cpp into update.cpp 2009-10-19 10:13:23 -04:00
Eliot Horowitz
510e48d693 a little update mod cleaning 2009-10-18 20:48:08 -04:00
Eliot Horowitz
a8bc6f9584 store query in ClientCursor so can see query on slow getMore queries 2009-10-17 23:07:26 -04:00
Eliot Horowitz
55ada812dd fix EmbeddedBuilder where field names are same length but different SERVER-367 2009-10-17 01:10:48 -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
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Dwight
ddcf5eeb32 refactor a little 2009-10-14 16:29:32 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -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
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
7514172811 make getMore buffer big since we know there are lots of results 2009-10-05 16:39:49 -04:00
Eliot Horowitz
e2fcb26d68 clean up killCursors loggin 2009-10-04 21:49:36 -04:00
Dwight
b622636eb2 minor prep for multi update work 2009-10-01 10:01:02 -04:00
Eliot Horowitz
ae3d49d718 allow you to store js functions in the server SERVER-157 2009-09-29 16:54:31 -04:00
Dwight
d30ce5418d validate skip() value on a query 2009-09-21 10:40:25 -04:00
Eliot Horowitz
f65aff4734 fix $pop and replication SERVER-100 2009-09-07 22:51:51 -04:00
Eliot Horowitz
99b20a0b6b $pop 2009-08-25 18:07:30 -04:00
dwight
4120dfc568 fix checks that operations cannot be performed on slaves; also, allow read operations on
--slave instances (but not repl pair nonmasters)
2009-08-17 16:13:13 -04:00
Eliot Horowitz
443594f175 better error check for $ check MINOR 2009-08-14 15:10:07 -04:00
Dwight
f0c2c8003f don't allow dropping an index $ collection
http://jira.mongodb.org/browse/SERVER-217
2009-08-13 13:26:03 -04:00
Eliot Horowitz
e07cbd8434 get rid of spurious warning about no _id index on system namespaces 2009-08-12 14:29:38 -04:00
Eliot Horowitz
1205ca8786 fix $snapshot on empty db 2009-08-11 10:48:33 -04:00
Dwight
c454bd3cd3 better $snapshot code 2009-08-10 16:04:10 -04:00
dwight
be89353b28 some work on $snapshot 2009-08-09 12:13:50 -04:00
Dwight
733ba1e11d first cut off NumberLong (64 bit ints) in BSON 2009-08-03 14:16:49 -04:00
Eliot Horowitz
dd9ba41ed4 no cursor timeout query option - using for clone 2009-07-29 12:09:38 -04:00
Eliot Horowitz
8fe350ff00 fix inc with compound indexes SERVER-178 2009-07-24 14:33:11 -04:00
Eliot Horowitz
e358971d6f fix $inc and other mods with embedded fields SERVER-180 2009-07-23 11:32:41 -04:00
Eliot Horowitz
dba7572265 spacing 2009-07-23 11:16:02 -04:00
Aaron Staple
d5b720a5e6 Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-22 17:30:42 -04:00
Aaron Staple
c477ed3a15 bug SERVER-132 implemented pullAll/pushAll modifiers 2009-07-21 18:37:30 -04:00
Aaron Staple
9c44b1c864 MINOR correct object iteration for pull case 2009-07-21 17:55:12 -04:00
Aaron Staple
3022ee8874 pushAll checkpoint 2009-07-21 17:53:19 -04:00