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.
next and prev to getOlder and getNewer respectively #129
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.