Commit Graph

99 Commits

Author SHA1 Message Date
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Dwight
1d59989c5e kill warning windows 2009-05-13 10:52:52 -04:00
Eliot Horowitz
a5d4d15090 creeateDirectClient method 2009-05-01 14:35:42 -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
Aaron
ee6ef61ca4 clear index cache in c++ client on dropping collection / database 2009-04-16 11:27:10 -04:00
Eliot Horowitz
a2479cdf80 access to raw resultFlags 2009-04-13 10:47:42 -04:00
Aaron
c1ae28ca0d remove explicit deleteIndexes from c++ client 2009-04-07 15:27:00 -04:00
Eliot Horowitz
fe27fdc75a make simpleCommand public since its handy and harmless 2009-03-30 13:25:58 -04:00
Eliot Horowitz
e91ed0e854 add DBClientBase::getServerAddress() 2009-03-25 17:08:36 -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
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -04:00
Aaron
d4fad81da1 Add explicit getMore to client interface 2009-03-10 16:49:17 -04:00
Aaron
d3dfec4799 Initialize members 2009-03-10 13:08:27 -04:00
Dwight
72b52650ea more autoreconnect fixage 2009-02-24 13:46:21 -05:00
Eliot Horowitz
de62cf49bc accessor for Query 2009-02-23 14:31:52 -05:00
Aaron
6f25a72ec3 'better' LazyString 2009-02-20 10:48:32 -05:00
Aaron
6df7d02ce8 Don't create string unless we're actually going to log 2009-02-19 12:03:15 -05:00
Aaron
b1d9032447 Get rid of stringable class, use implicit type conversion to string instead 2009-02-18 22:17:30 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
dwight
22085b0540 add a couple virtual destructors just to be safe 2009-02-17 19:21:01 -05:00
dwight
a44c512852 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-17 14:03:43 -05:00
dwight
667c004013 a little dbclient.h cleanup (minor) 2009-02-13 20:04:13 -05:00
Dwight
c67eca8a2f c++ client:
allow BSONElements with the labeler
example
2009-02-12 18:20:52 -05:00
Dwight
8a569e8bc0 finish the Repl client connection in the c++ driver. 2009-02-11 11:36:51 -05:00
Eliot Horowitz
ba8b57c158 Query::toString 2009-02-11 10:37:04 -05:00
Aaron
565d374283 Use @file to tell doxygen to document globals, add more doc for BSON() and QUERY() 2009-02-10 14:04:03 -05:00
Dwight
3b5cb47a1f tutorial; comments 2009-02-09 17:17:40 -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
d45688ce1d fix thorwing of exception wasn't right (dbclientconnection) 2009-02-08 16:02:48 -05:00
dwight
9590e60f21 repl pairs support in conn pool 2009-02-07 09:21:29 -05:00
Dwight
7d593671fe rename classes and add a new client connect method 2009-02-06 16:56:14 -05:00
Dwight
60fb155c50 comments 2009-02-03 18:28:21 -05:00
Dwight
c17fcf847c comments 2009-02-03 18:24:55 -05:00
Eliot Horowitz
3aa74384ae grid/message -> util/message 2009-02-03 13:30:28 -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
36ba844fe6 using string instead of char* in a couple o places 2009-02-02 17:12:56 -05:00
Eliot Horowitz
7d8e3c7296 Query(string) 2009-02-02 12:16:59 -05:00
Eliot Horowitz
940fb66363 correct string index type 2009-02-02 09:40:43 -05:00
Eliot Horowitz
165a4618ae added validate to client 2009-02-02 09:36:01 -05:00
Eliot Horowitz
9bcacf16c0 pragma pack changes for solaris
slight change this will break other platforms, will test
2009-02-01 22:21:32 -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
Dwight
d3aa125d87 implement resetError
and make lasterror better
2009-01-30 14:49:28 -05:00
Dwight
790ef16736 getlasterror helper for c++ driver 2009-01-30 14:40:19 -05:00
Dwight
5ef85d1919 a few more client tests
and some syntactic sugar for c++ driver
2009-01-30 14:18:26 -05:00
Dwight
6e4efe880a $hint takes keypattern objects now 2009-01-30 13:13:49 -05:00