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

152 Commits

Author SHA1 Message Date
Eliot Horowitz
8bbd6eadf6 implement DBClientPaire::connect( string s ) 2009-08-10 14:00:03 -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
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
Dwight
1ec09421ed hint and explain 2009-01-30 12:46:49 -05:00
Dwight
2d3e942437 complain if hint index not found. should we? 2009-01-30 12:32:58 -05:00
Dwight
dcf90d4def sort() for c++ client 2009-01-29 18:38:35 -05:00
Eliot Horowitz
59fd962a7f dropCollection 2009-01-29 13:01:29 -05:00
Eliot Horowitz
502a5e6e86 export to doxygen 2009-01-27 13:08:07 -05:00
dwight
76b6aac917 make security work with repl pairs
replicate system.users collection
2009-01-24 21:25:55 -05:00
dwight
84138952eb c++ driver: cache authentications so that autoReconnect on a DBClientConnection will work
properly with security.
2009-01-24 17:36:39 -05:00
dwight
797fda0125 just comments 2009-01-24 16:31:36 -05:00
dwight
cc62027aee replication with security on 2009-01-23 18:24:15 -05:00
Aaron
8b89b9f775 Add remove to interface, and fix implementation 2009-01-23 15:14:12 -05:00
Aaron
e591c7dcc5 Add multi-insert and update functions to client interface 2009-01-23 10:10:21 -05:00
Eliot Horowitz
c14ac3ac0e fix authTest
abstract out pssword digest
2009-01-21 18:58:03 -05:00
dwight
e1021ee8ab authenticate command work
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
Eliot Horowitz
61b0b78d75 paired connection doesn't implement all the methods yet 2009-01-16 11:13:18 -05:00
Eliot Horowitz
e87560d553 doc cleaning 2009-01-16 10:44:56 -05:00
Eliot Horowitz
528bceb2d2 doc cleaning/org 2009-01-15 17:40:43 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Eliot Horowitz
cc47974312 ensureIndex 2009-01-14 10:40:15 -05:00
Eliot Horowitz
57eeff38ec update 2009-01-13 16:08:07 -05:00
Eliot Horowitz
0565401c2e remove should be part of Base 2009-01-13 15:19:50 -05:00
Eliot Horowitz
4e60ec0df1 sayPiggyBack/piggyBack
not implemented yet, just passes through to say
2009-01-13 12:53:00 -05:00
Eliot Horowitz
aca6d9c59f add stdafx so can be included by itself 2009-01-12 15:27:37 -05:00
Aaron
9e3d798e37 Make Arbitrate test work with Dwight's new dbclient code 2009-01-12 09:38:11 -05:00
dwight
aeef0a9d3d Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	client/dbclient.cpp
	client/dbclient.h
2009-01-10 18:29:09 -05:00
dwight
8428e6cbda command work client driver 2009-01-10 18:17:23 -05:00
Dwight
96d4406ece set options flag when $err is returned 2009-01-09 11:20:16 -05:00
Eliot Horowitz
ab581691b5 todo for cursor kill 2009-01-08 17:08:43 -05:00
Aaron
601be4dd4f recv full http request, implement simple rest post handling, refactor dbclient code 2009-01-07 10:08:12 -05:00
Dwight
bed528742b Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-06 10:48:17 -05:00
Dwight
b7b8bed9f7 don't create local db if running without replication
clean up startup options for dbgrid
2009-01-06 10:48:09 -05:00
Eliot Horowitz
33e11bc991 insert/remove in DBClientConnection 2009-01-05 14:48:04 -05:00
Eliot Horowitz
ce95083dc2 moving DBDirectClient to instance.* b/c it only make sense there and cleans linking 2009-01-02 16:41:13 -05:00
Eliot Horowitz
e5aa3e5e0b move DirectConnector to dbclient and make DBDirectClient 2008-12-31 11:59:28 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
1d6104fce1 Cursor keeps own copy of ns 2008-12-19 09:52:54 -05:00
Aaron
6ae140a2df Use socketless interface for cloning using single db instance 2008-12-18 12:02:12 -05:00
Aaron
b473e85b92 Make g++ warnings stricter, clear a few new warnings 2008-12-17 14:09:37 -05:00
Aaron
99bf277c18 g++ check return type, fix some warnings 2008-12-16 18:12:25 -05:00
Dwight
971524387a Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	client/dbclient.h
2008-12-05 16:51:43 -05:00
Dwight
74f630aacc timing capabilities 2008-12-05 16:45:10 -05:00
Aaron Staple
243a3e6b2f Adding some pairing tests 2008-12-05 16:03:35 -05:00
Dwight
60b769a8cb replication fixes -- "first: true" support (local.dbinfo.*); clean up class name 2008-12-02 14:24:45 -05:00
unknown
8beba2346e checkpoint work 2008-11-09 17:49:37 -05:00
Dwight
1875ee8151 more dbgrid work 2008-10-24 17:51:28 -04:00