Skip to content

DRY with Mongoose Queries #17

Description

@AndrewPlayer3

Mongoose queries which are duplicated should be moved into simple and clear functions.
These should be placed in a lib/ directory in the root of the project (or potentially middleware/).

This can apply to other high level duplicated code as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions