getPrevious and getAfter on the record in the SDK
T
Tudor Golubenco
It would be nice to be able to write something like this:
const user = await xata.db.Users.getFirst();
const next = await user.getAfter();
More details and workaround: https://github.com/xataio/client-ts/issues/1165