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

use MongoDB aggregation framework to sort crits and art without tracking likes and crits totals on the data itself #1

Open
dierat opened this issue Apr 18, 2016 · 0 comments

Comments

@dierat
Copy link
Collaborator

dierat commented Apr 18, 2016

Right now the crits data has a property called 'likesNum' that needs to be incremented with each like, and the art data has a 'critsNum' property that needs to be incremented with every crit added to it so that we can sort this data based on those properties easily. We should be able to implement this using the MongoDB framework and then remove these extra properties.

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