Skip to content

.random() API Call for ORM #1180

@rdegges

Description

@rdegges

Hi all, started using loopback recently, and am loving it.

One thing I'd love to see is a .random() model method. It'd be nice to occasionally select a random item from the datababase.

I know that in active record / Django / most other ORMs, it's possible to execute these sort of queries in different ways, and I figured it'd be worth a github issue.

Best,

-Randall

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions