Add support for $elemMatch

Signed-off-by: Rick Copeland <rick@arborian.com>
Fix issue with MIM not enforcing _id when using fields option, this lead to the creation of new objects in unexpected cases
Support for fields in ODM queries, makes possible to update enties retrieved with only some fields specified
Update to mongoclient, remove support for MasterSlaveConnection and ReplicaSetConnection

Signed-off-by: Rick Copeland <rick@arborian.com>
Add support for doc.m.find_and_modify, addressing #6, #7

Signed-off-by: Rick Copeland <rick@arborian.com>
Make __getitem__ clone the cursor, fixing #8

Signed-off-by: Rick Copeland <rick@arborian.com>
Add rewind() method to mim Cursor fixing #10

Signed-off-by: Rick Copeland <rick@arborian.com>
Update to be a release candidate

Signed-off-by: Rick Copeland <rick@arborian.com>
Support objects returned from mapreduce

If mapreduce returns an object instead of a scalar type
or Date, convert it to Python recursively and return a
dict instance.

Change-Id: I4f5b95922e137302dde9f7efb310eb3f51628f53
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Add tox configuration

Set up tox to run tests under Python 2.7. (I'm not sure which
other versions of Python are or need to be supported.)

Change-Id: I4c478e3f30f3741f9cd40c93f356f4b983748da6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Bump version number

Signed-off-by: Rick Copeland <rick@arborian.com>
Fix some problems in config parsing

Signed-off-by: Rick Copeland <rick@arborian.com>
Bump version number (again)

Signed-off-by: Rick Copeland <rick@arborian.com>
Bump version

Signed-off-by: Rick Copeland <rick@arborian.com>
Switch back to dev version

Signed-off-by: Rick Copeland <rick@arborian.com>
Allow query params in connection string (mainly for ssl=true)

Signed-off-by: Rick Copeland <rick@arborian.com>
Allow MIM to handle dotted-name $set updates

Signed-off-by: Rick Copeland <rick@arborian.com>
Add support for more nested operators in MIM, fix sorting issue in MIM find_and_modify

Signed-off-by: Rick Copeland <rick@arborian.com>
Add tests for new mim functionality

Signed-off-by: Rick Copeland <rick@arborian.com>
Add support for finalize in mapreduce in MIM (thanks Julien Danjou!)

Signed-off-by: Rick Copeland <rick@arborian.com>