home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 812940457

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/916#issuecomment-812940457 https://api.github.com/repos/simonw/datasette/issues/916 812940457 MDEyOklzc3VlQ29tbWVudDgxMjk0MDQ1Nw== 9599 2021-04-03T23:28:40Z 2021-04-03T23:28:40Z OWNER

I think my ideal implementation for this would be to reverse the order, grab the previous page-size-plus-one items, then return a ?_next=x token that would provide the previous page sorted back in the expected default order.

The alternative would be to have a ?_previous=x token which can be used to paginate backwards in reverse order, but I think this would be confusing as it would result in "hit next page, then hit previous page" returning you to a new state which features rows in the reverse order.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
672421411  
Powered by Datasette · Queries took 0.864ms · About: github-to-sqlite