Commit 17511251 by Gustav Arngården

Create README.md

parent ed7e512a
MongoDBProxy
============
MongoDBProxy is used to create a proxy around a MongoDB-connection in order to automatically handle
AutoReconnect-exceptions.
You use MongoDBProxy in the same way you would an ordinary MongoDB-connection but don't need to worry
about handling AutoReconnects by yourself.
Usage:
import pymongo
import mongodb_proxy
safe_conn = mongodb_proxy.MongoProxy(pymongo.MongoReplicaSetClient(replicaSet='blog_rs')
safe_conn.blogs.posts.insert(post)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment