Commit Graph

96 Commits

Author SHA1 Message Date
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
Dwight
459d62347b replication / exception throwing bug fix
--only option added
2009-02-12 15:03:38 -05:00
Eliot Horowitz
ba8b57c158 Query::toString 2009-02-11 10:37:04 -05:00
Dwight
4ab67f0e7e Merge branch 'master' of git.10gen.com:/data/gitroot/p 2009-02-10 12:35:38 -05:00
Dwight
c8fb50b3f1 md5 bug 2009-02-10 12:35:30 -05:00
Aaron
72d5a652fb Don't add 'key' twice 2009-02-10 12:01:32 -05:00
Dwight
52ac9edf31 count() for c++ client 2009-02-09 16:24:47 -05:00
Dwight
8cb17548c2 bsonobjbuilder cleanup 2009-02-09 15:38:26 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Aaron
0e2df92fbc Use const reference to string to avoid extra copy when string passed explicitly 2009-02-03 11:54:51 -05:00
Eliot Horowitz
04430b44cc Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-02-02 17:13:03 -05:00
Eliot Horowitz
36ba844fe6 using string instead of char* in a couple o places 2009-02-02 17:12:56 -05:00
Aaron
99ad2eac76 Parse port suffix before calling hostbyname() 2009-02-02 16:18:44 -05:00
Dwight
9fe4dc3ba1 Merge branch 'master' of git.10gen.com:/data/gitroot/p 2009-01-30 15:09:51 -05:00
Dwight
643b12e0ce $where support in the driver Query object 2009-01-30 15:09:38 -05:00
Eliot Horowitz
120f859704 change password digest
from md5( "mongo" + pwd )
to md5( username + ":mongo:" + pwd )
2009-01-30 15:06:12 -05:00