Skip to content

[Help/Feature Request?] Use the "where" query to find all elements with a key value greater than/less than a certain value #34

@OlexG

Description

@OlexG

For instance, is something like this available/implemented? If not, are there any plans to do this?

await db.users.findMany({
  where: {
    createdAt: {
       lte: someDate,
    },
  },
})

On the side, the reason I want this is to "implement" pagination for myself. Are there any plans to get the actual pagination working?
Thanks! This library has been super super great otherwise.

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