home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 895003796

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/1425#issuecomment-895003796 https://api.github.com/repos/simonw/datasette/issues/1425 895003796 IC_kwDOBm6k_c41WKyU 3243482 2021-08-09T07:14:35Z 2021-08-09T07:14:35Z CONTRIBUTOR

I believe this also provides a workaround for the problem I face in https://github.com/simonw/datasette/issues/1300.

Now I should be able to get table PKs and generate a row URL. I'll test this out and report my findings.

```py from datasette.utils import path_from_row_pks

pks = await db.primary_keys(table) url = self.ds.urls.row_blob( database, table, path_from_row_pks(row, pks, not pks), column, ) ```

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