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

Fully Support MongoDB Storage #12

Open
acouch opened this issue Nov 26, 2017 · 0 comments
Open

Fully Support MongoDB Storage #12

acouch opened this issue Nov 26, 2017 · 0 comments

Comments

@acouch
Copy link
Member

acouch commented Nov 26, 2017

The FileStorage subclass of the Content class uses the same storage methods as MongoDB. This concept is used in the almost identical Storage class in the admin https://github.com/interra/catalog-admin/blob/master/server/models/content.js#L112 . The non-mongo methods from FileStorage should be moved to the parent class and FileStorage should be implementing storage methods. Would also like to add tests for Mongo as well.

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

No branches or pull requests

1 participant