Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a data persistence layer to mongomock #293

Closed
wants to merge 4 commits into from
Closed

Add a data persistence layer to mongomock #293

wants to merge 4 commits into from

Conversation

MacHu-GWU
Copy link

Add a feature that can dump and load database. So user can use mongodb
as a pure python, local database. And user can easily switch to real
mongodb by changing the MongoClient setting.

Add a feature that can dump and load database. So user can use mongodb
as a pure python, local database. And user can easily switch to real
mongodb by changing the MongoClient setting.
@MacHu-GWU
Copy link
Author

Hi, since mongomock can act like pymongo, why not adding a data persistence layer to it? Even the performance is not really good. But for prototype dev, it's usefule. Thank you.

@MacHu-GWU MacHu-GWU changed the title 2017-01-27 Add a data persistence layer to mongomock Jan 27, 2017
A mongomock 3.7.0 with data persistence layer.
Fix a bug in collection.drop
@MacHu-GWU MacHu-GWU closed this Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant