home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1684530060

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-1684530060 https://api.github.com/repos/simonw/datasette/issues/2145 1684530060 IC_kwDOBm6k_c5kZ-OM 9599 2023-08-18T23:09:03Z 2023-08-18T23:09:14Z OWNER

Ran a quick benchmark on ChatGPT Code Interpreter: https://chat.openai.com/share/8357dc01-a97e-48ae-b35a-f06249935124

Conclusion from there is that this query returns fast no matter how much the table grows:

sql SELECT EXISTS(SELECT 1 FROM "nasty" WHERE "id" IS NULL) So detecting if a table contains any null primary keys is definitely feasible without a performance hit.

{
    "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.993ms · About: github-to-sqlite