home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 861985944

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/sqlite-utils/issues/272#issuecomment-861985944 https://api.github.com/repos/simonw/sqlite-utils/issues/272 861985944 MDEyOklzc3VlQ29tbWVudDg2MTk4NTk0NA== 9599 2021-06-16T02:22:52Z 2021-06-16T02:22:52Z OWNER Another option: allow an optional `:suffix` specifying the type of the file. If this is missing we detect based on the filename. sqlite-utils memory somefile:csv "select * from somefile" One catch: how to treat `-` for standard input? cat blah.csv | sqlite-utils memory - "select * from stdin" That's fine for CSV, but what about TSV or JSON or nl-JSON? Maybe this: cat blah.csv | sqlite-utils memory -:json "select * from stdin" Bit weird though. The alternative would be to support this: cat blah.csv | sqlite-utils memory --load-csv - But that's verbose compared to the version without the long `--load-x` option. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 921878733  
Powered by Datasette · Queries took 0.827ms