home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 968453129

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/329#issuecomment-968453129 https://api.github.com/repos/simonw/sqlite-utils/issues/329 968453129 IC_kwDOCGYnMM45uWwJ 9599 2021-11-15T02:07:46Z 2021-11-15T02:07:46Z OWNER

If I replace validate_column_names(row.keys()) with fix_column_names(row) I need to decide what to do about things like pk= and column_order=.

What should the following do?

python table.insert({"foo[bar]": 4}, pk="foo[bar]", column_order=["foo[bar]"]) Should it spot the old column names in the pk= and column_order= parameters and pretend that foo_bar_ was passed instead?

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