Skip to content

Merge findRandom and findManyRandom into a single query? #11

Description

@nkeil

We could use the standard take field in findRandom to hold the number of random results to return, defaulting to 1. This would reduce the number of functions introduced to user's models. Simpler is better.

Note: this will we require a major version bump. Be sure to update documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions