Skip to content

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

@dierat

Description

@dierat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions