Open ShawnXu opened 8 years ago
I suggesting look at this example: https://github.com/adewes/blitzdb/blob/master/blitzdb/backends/mongo/backend.py#L51
First You need connection
from pymongo
and second from MongoDB
you get database object expected by first argument in blitzdb.MongoBackend()
method.
I was glad to find out that blitzdb offers a MongoDB wrapper so I tried it out. Unfortunately I couldn't get it to work
I'm sure my mongodb server is running fine. I suppose the usage against the MongoDB backend should be the same. There isn't much documentation on read docs. Am I doing something wrong?