home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 905021047

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/319#issuecomment-905021047 https://api.github.com/repos/simonw/sqlite-utils/issues/319 905021047 IC_kwDOCGYnMM418YZ3 9599 2021-08-24T22:33:48Z 2021-08-24T22:33:48Z OWNER

I had a few doubts about the design just now. Since content_text is supported as a special argument, an alternative way of handling the above would be:

sqlite-utils insert-files /tmp/text.db files *.txt -c path -c content_text -c size

This does exactly the same thing as just using --text and not specifying any columns, because the actual implementation of --text is as follows:

https://github.com/simonw/sqlite-utils/blob/0c796cd945b146b7395ff5f553861400be503867/sqlite_utils/cli.py#L1851-L1855

But actually I think that's OK - --text is a useful shorthand that avoids you having to remember how to manually specify those columns with -c. So I'm going to leave the design as is.

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