If you are wondering why lemmy is moving away from offset pagination since 0.19, here is a nice article about it

  • LalSalaamComrade
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    This technique will not work for databases than uses uuid instead of integer, right?

    • croccifixio
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      It will if you’re using UUID v7 which is time-ordered. There are also alternative implementations such as ULID and KSUID that are time-ordered.

    • jochem
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      The article proposes to add an incrementing number just for the sake of pagination.