Open tangjiaxi opened 8 years ago
In my fork of this library i was just replace required versions in setup.py:
pymongo>2.7
motor>=0.6
And all right.
@sergyp Thank you very much. Would you please suggest some program which use motorengine to me?
@tangjiaxi Before continue using this library i would suggest you to not use it. It seems that there is nobody working on it and looks outdated. Also there some annoying things like it doesn't handle in right way when there isn't connection to mongodb.
So in my opinion if you are working in a serious project think about use updated repos like mongoengine, it isn't asynchronous but you won't notice that in your program. As an alternative you can try to implement threads as calls to MongoDB, but you will really have a lot of requests to need it.
I recommend you to use mongo-engine =)
After motorengine was installed, motor (0.2) and pymongo (2.7) would together be installed. The auth mechanism of mongodb connetion is 'SCRAM-SHA-1'. But in order to support 'SCRAM-SHA-1', we need pymongo >= 2.8 and motor >= 0.4 When this feature will be added?