TBD54566975 / dwn-sql-store

Apache License 2.0
8 stars 6 forks source link

PaginationCursor update from `dwn-sdk-js` #15

Closed LiranCohen closed 9 months ago

LiranCohen commented 10 months ago

PaginationCursor is a new object in dwn-sdk-js.

It is comprised of a messageCid and a value. The value is of the sort property that you would like to continue your pagination from. The messageCid is used as a tiebreaker in the same way that query pagination already does.

codecov[bot] commented 10 months ago

Codecov Report

Merging #15 (6a6b470) into main (0f5f4ae) will increase coverage by 0.23%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #15 +/- ## ========================================== + Coverage 80.41% 80.64% +0.23% ========================================== Files 10 10 Lines 1072 1080 +8 Branches 152 149 -3 ========================================== + Hits 862 871 +9 + Misses 210 209 -1 ```