marcesher / cfmongodb

MongoDB client wrapper for ColdFusion
89 stars 34 forks source link

Integrate new MongoClient #33

Closed marcesher closed 11 years ago

marcesher commented 11 years ago

With 2.2 the API has changed and now MongoClient is the preferred entry point.

When integrating, ensure that the mistakes we made with Mongo are addressed. Specifically, ensure that all options passable to the Java API are available in the cfmongodb API as well.

http://api.mongodb.org/java/2.10.1/

marcesher commented 11 years ago

Done. Improved API by enabling a simple struct of MongoOptions to be passed into the MongoClient constructor. CFMongoDB will convert that struct to the appropriate method calls