Skip to content

first/last, before/after support #21

Closed
@mickhansen

Description

@mickhansen

It would be great to support the Relay connection args out of the box for users.
first/last would simply require the user to select what field to order on.

before/after is a little more tricky, we can't simply do a comparison on ID since the order might be on something that doesn't align with the ID.

We might need to do something like [field] > (SELECT [field] FROM [table] WHERE id = [after] LIMIT 1) which might kill performance slightly.

/cc @brad-decker

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions