Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Rename next and prev to getOlder and getNewer respectively #129

@morleyzhi

Description

@morleyzhi

From @fnando:

Right now, it uses next() and prev(), but this is tricky because it depends on sorting; by default, prev() fetches newer records, next() fetch older records. If you sort as asc, then is the opposite. What if use actually use older() and newer() instead? Then the semantics would always be the same in both cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions