home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 582101530

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/pull/653#issuecomment-582101530 https://api.github.com/repos/simonw/datasette/issues/653 582101530 MDEyOklzc3VlQ29tbWVudDU4MjEwMTUzMA== 9599 2020-02-04T20:32:11Z 2020-02-04T20:32:11Z OWNER

This is the kind of problem that has made me think that Datasette would really benefit from including a smart SQLite-syntax SQL parser.

Writing one is a bit of a challenge though! There's an example (derived from SQLite SELECT statements) included in pyparsing here but I've not spent much time evaluating it: https://github.com/pyparsing/pyparsing/blob/master/examples/select_parser.py

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