home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 864416785

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/284#issuecomment-864416785 https://api.github.com/repos/simonw/sqlite-utils/issues/284 864416785 MDEyOklzc3VlQ29tbWVudDg2NDQxNjc4NQ== 9599 2021-06-19T14:54:41Z 2021-06-19T14:54:41Z OWNER

```pycon

db = sqlite_utils.Database(memory=True) db["rowid_table"].insert({"name": "Cleo"})

<Table rowid_table (name)> >>> db["regular_table"].insert({"id": 1, "name": "Cleo"}, pk="id") <Table regular_table (id, name)> >>> db["rowid_table"].pks ['rowid'] >>> db["regular_table"].pks ['id'] ``` I think I need an introspection property for working out if a table is a `rowid` table or not.
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
925320167  
Powered by Datasette · Queries took 1.235ms · About: github-to-sqlite