home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 377050461

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/189#issuecomment-377050461 https://api.github.com/repos/simonw/datasette/issues/189 377050461 MDEyOklzc3VlQ29tbWVudDM3NzA1MDQ2MQ== 9599 2018-03-28T21:55:14Z 2018-03-28T22:06:30Z OWNER

I think there are actually four kinds of sort order we need to support;

  • ascending
  • descending
  • ascending, nulls last
  • descending, nulls last

It looks like [-blah] is a valid SQLite table name, so mark I descending with a hyphen prefix isn't good.

Instead, maybe this:

?_sort_asc=col1&_sort_desc_nulls_last=col2
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
309471814  
Powered by Datasette · Queries took 1.211ms · About: github-to-sqlite