723 Commits (a4b69e00016f1b5c52f22b8c40853446ecc2df83)
 

Author SHA1 Message Date
rstam 19bd74861d Implemented Clone and Explain in MongoCursor. Slightly changed how queries are wrapped. 15 years ago
rstam c1fc59ad6a Implemented CreateIndex, DropAllIndexes, DropIndex, EnsureIndex, GetIndexes, ResetIndexCache and GetIndexName in MongoCollection. 15 years ago
rstam c3816d967c Implemented Mongo.Hash. Implemented MongoCredentials.ValidatePassword. Implemented MongoDatabase.Adduser, CreateCollection and RemoveUser. 15 years ago
rstam 2d01cd47ff Added MongoCollection.ValidateName. Implemented AddOption, Hint, Max, MaxScan, Min, Snapshot, and Sort in MongoCursor. Added support for wrapped queries to MongoCursor. Added MongoDatabase.ValidateName. 15 years ago
rstam 565ae569cd Added support for specifying SafeMode at server, database, collection and operation levels. MongoCursor is now IDisposable. Continued work on API design by adding skeletons for many new methods. 15 years ago
rstam 4a43a3ea73 Relaxed restriction on uniqueness of MongoServer, MongoDatabase and MongoServer objects. Factory methods will still return existing objects if possible, but it's OK to create new ones. This is motivated by how to most easily handle authentication in a multi threaded environment (like a web server). The easiest approach is to attach credentials to the database object, but that implies that if different threads want to use different credentials for the same database that it must be possible to create multiple instances of MongoDatabase for the same database. 15 years ago
rstam 181040594a Deleted MongoCommandResult. Implemented Limit in MongoCursor. Implemented DropCollection in MongoDatabase. Modified RunCommand to throw an exception when command fails. Implemented DropDatabase in MongoServer. 15 years ago
rstam e1712424e4 Implemented Count in MongoCollection and MongoCursor (cursor version uses skip and limit). 15 years ago
rstam 229e2e06f6 Fixed setting of numberToReturn field in query message (calcuated by looking at both batchSize and limit). Fixes the issue that a command will only return a value if numberToReturn == 1. 15 years ago
rstam f073fcab31 Tested .NET style connection strings. Implemented GetDatabaseNames and GetCollectionNames. 15 years ago
rstam 46c3fe1b5c Worked on the design of the C# API by creating lots of skeleton methods (look for NotImplementedException). Added some new auxiliary classes. 15 years ago
rstam 92b4e1457a Added support for .NET style connection strings as well (subclassed DbConnectionStringBuilder). 15 years ago
rstam 5c95da479c Added factory methods for MongoServer and MongoDatabase. Implemented Equals and GetHashCode for MongoCredentials and MongoServerAddress. 15 years ago
rstam 074bf2f4fe Added support for connection strings and for storing credentials (but authentication is not implemented yet). 15 years ago
rstam eae2883468 Renamed MongoClient to MongoServer because while is is *used* by the client it *represents* the server. 15 years ago
rstam b49339e6d5 Added unit tests for and debugged MongoConnectionStringBuilder. 15 years ago
rstam 5b160b9b42 Forgot to stage some files before previous commit. 15 years ago
rstam 05af608b6a First version of MongoConnectionStringBuilder. 15 years ago
rstam cccde388f3 Initial version of MongoCursor working. 15 years ago
rstam 05c6772755 Added MongoCollection<T> for collections where it is known that all documents are of the same type. 15 years ago
rstam 792168a4a3 Cleanup and consolidation. Avoid extra copy of reply buffer in memory. 15 years ago
rstam 55a44b0d9f Work in progress. Tested MongoCollection.Find(). 15 years ago
Eliot Horowitz 900414238c first commit 15 years ago