home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 846493370

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/1326#issuecomment-846493370 https://api.github.com/repos/simonw/datasette/issues/1326 846493370 MDEyOklzc3VlQ29tbWVudDg0NjQ5MzM3MA== 9599 2021-05-23T02:55:00Z 2021-05-23T02:55:00Z OWNER

Currently you can do this with a custom SQL query, but as you've noticed this means you don't get automatic pagination: https://latest.datasette.io/fixtures.json?sql=select+pk%2C+created%2C+state+from+facetable+order+by+pk+limit+10&_shape=array

I have an open issue to allow selecting specific columns on the table page: #615

A workaround you can use today is to define a SQL view that selects just the tables you want. View pages behave exactly like tables in that they provide pagination by default.

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