home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1684497000

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/2145#issuecomment-1684497000 https://api.github.com/repos/simonw/datasette/issues/2145 1684497000 IC_kwDOBm6k_c5kZ2Jo 9599 2023-08-18T22:31:53Z 2023-08-18T22:31:53Z OWNER

So it sounds like SQLite does ensure that a rowid before it allows a primary key to be null.

So one solution here would be to detect a null primary key and switch that table over to using rowid URLs instead. The key problem we're trying to solve here after all is how to link to a row:

https://latest.datasette.io/fixtures/infinity/1

But when would we run that check? And does every row in the table get a new /rowid/ URL just because someone messed up and inserted a null by mistake?

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