Commit Graph

111 Commits

Author SHA1 Message Date
Mathias Stearn
c9181b253b make isOK except any true value (1.4 backport) 2010-05-24 10:53:41 -04:00
Eliot Horowitz
adb8a476bc client fix for bad queries 2010-04-09 14:32:49 -04:00
Eliot Horowitz
4557de5376 can't inline isOk 2010-03-11 11:40:27 -05:00
Aaron
00684b8c1b SERVER-693 don't duplicate db name when creating collection 2010-03-02 16:21:51 -08:00
Aaron
218036b2a4 SERVER-580 add putBack() to db client cursor 2010-03-01 10:07:01 -08:00
Eliot Horowitz
dd19206172 batchSize option for js and c++ 2010-02-27 11:16:26 -05:00
Mathias Stearn
11c49cb195 nToReturn is now a limit in C++ driver SERVER-537 2010-02-26 22:40:50 -05:00
Dwight Merriman
af43db2aca better error message 2010-02-12 15:56:17 -05:00
Dwight
397e511e3a check for null 2010-02-04 15:46:11 -05:00
Aaron
0131eaf887 Add debugging support for multiple destructors, and some guards to prevent this condition from arising 2010-02-01 15:41:04 -08:00
Dwight
4d8a09b25a cleanup comments prepwork for some repl improvements 2010-01-04 11:15:09 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Eliot Horowitz
d531f77f67 nsToClient -> nsToDatabase 2009-12-31 16:31:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
edfe77b6ef quorom connection (for sharding config) checkpoint 2009-12-16 16:26:49 -05:00
Eliot Horowitz
d3ece690ef add optional options param to more methods 2009-12-02 16:56:37 -05:00
Eliot Horowitz
0630b33340 moved some methods from DBClientBase to DBClientWithCommands 2009-11-12 13:56:28 -05:00
Eliot Horowitz
a3da013fab question about SERVER-193 2009-11-10 16:55:26 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
e8466f3dc5 flag to update multiple objects with $ operators SERVER-268 2009-10-21 22:54:11 -04:00
Eliot Horowitz
10e82eae73 remove muliple with _id range remove SERVER-365 2009-10-16 15:33:56 -04:00
Dwight
04104f13a1 add mapreduce() to the c++ client api.
not yet tested.
2009-10-02 16:55:47 -04:00
Eliot Horowitz
95baa00d45 exists( ns ) 2009-10-01 17:15:33 -04:00
Eliot Horowitz
8b91377b09 dropIndex, dropIndexes, getIndexes, reIndex for c++ driver SERVER-314 2009-09-24 17:41:09 -04:00
dwight
68c24f3595 getLastErrorDetailed() for C++ client 2009-09-14 12:31:47 -04:00
Eliot Horowitz
e8d20f47ac count of missing namespace returns 0 2009-09-01 17:28:15 -04:00
Eliot Horowitz
6281fe4ee7 const BSONObj 2009-09-01 17:08:57 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Eliot Horowitz
9f0fde9d31 clean warning MINOR 2009-08-13 13:25:19 -04:00
Eliot Horowitz
0cfa107650 DBCclientPaired::slaveConn - for getting the slave side of a paired connection 2009-08-12 16:54:57 -04:00
Dwight
17042c403e use $snapshot in the clone / repl code where appropriate
also adds snapshot to the C++ client driver
2009-08-10 16:57:59 -04:00
Eliot Horowitz
8bbd6eadf6 implement DBClientPaire::connect( string s ) 2009-08-10 14:00:03 -04:00
Dwight
733ba1e11d first cut off NumberLong (64 bit ints) in BSON 2009-08-03 14:16:49 -04:00
Eliot Horowitz
73be2f8454 add getCollectionNames and getDatabaseNames to c++ client SERVER-196 2009-07-29 13:13:01 -04:00
Eliot Horowitz
6746cd2493 get rid of Option_ALLFLAGS 2009-07-29 11:16:33 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Aaron
206a330b50 remove outdated 'mongod <arg>' style tests, add mongod msg test to smokeClient 2009-05-19 10:55:13 -04:00
Aaron
13ac1f5ee4 remove client dependency on pcre 2009-05-11 14:57:26 -04:00
Aaron
af59c4ea9e core implementation of min/max query parameters 2009-04-30 16:25:36 -04:00
Aaron
80847b561c add unique option when creating index in c++, js drivers; basic unique key unit tests 2009-04-20 13:51:54 -04:00
Eliot Horowitz
a2479cdf80 access to raw resultFlags 2009-04-13 10:47:42 -04:00
Aaron
d0520ccafb Use string instead of char * in client code 2009-03-24 16:58:33 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
d4fad81da1 Add explicit getMore to client interface 2009-03-10 16:49:17 -04:00
Eliot Horowitz
cb7c871fba fix getMore and cusror handling (was doing 1 extra network op) and 1 safety check in debug mode 2009-02-25 14:15:00 -05:00
Dwight
72b52650ea more autoreconnect fixage 2009-02-24 13:46:21 -05:00
Dwight
d654aa6788 fix bug with auto reconnect in the client 2009-02-24 13:14:08 -05:00
Eliot Horowitz
de62cf49bc accessor for Query 2009-02-23 14:31:52 -05:00