home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE" and "updated_at" is on date 2021-11-29 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date)

issue 3

  • Document how to send multiple values for "Named parameters" 1
  • Use datasette-table Web Component to guide the design of the JSON API for 1.0 1
  • Update aiofiles requirement from <0.8,>=0.4 to >=0.4,<0.9 1

user 2

  • 20after4 2
  • codecov[bot] 1

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
981980048 https://github.com/simonw/datasette/issues/1304#issuecomment-981980048 https://api.github.com/repos/simonw/datasette/issues/1304 IC_kwDOBm6k_c46h9OQ 20after4 30934 2021-11-29T20:13:53Z 2021-11-29T20:14:11Z NONE

There isn't any way to do this with sqlite as far as I know. The only option is to insert the right number of ? placeholders into the sql template and then provide an array of values.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Document how to send multiple values for "Named parameters"  863884805  
981966693 https://github.com/simonw/datasette/issues/1532#issuecomment-981966693 https://api.github.com/repos/simonw/datasette/issues/1532 IC_kwDOBm6k_c46h59l 20after4 30934 2021-11-29T19:56:52Z 2021-11-29T19:56:52Z NONE

FWIW I've written some web components that consume the json api and I think it's a really nice way to work with datasette. I like the combination with datasette+sqlite as a back-end feeding data to a front-end that's entirely javascript + html.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936  
981631026 https://github.com/simonw/datasette/pull/1537#issuecomment-981631026 https://api.github.com/repos/simonw/datasette/issues/1537 IC_kwDOBm6k_c46goAy codecov[bot] 22429695 2021-11-29T13:23:20Z 2021-11-29T13:23:20Z NONE

Codecov Report

Merging #1537 (fcfaec1) into main (48f1199) will decrease coverage by 0.06%. The diff coverage is n/a.

```diff @@ Coverage Diff @@

main #1537 +/-

========================================== - Coverage 91.90% 91.83% -0.07%
========================================== Files 34 34
Lines 4434 4434
========================================== - Hits 4075 4072 -3
- Misses 359 362 +3
```

| Impacted Files | Coverage Δ | | |---|---|---| | datasette/views/index.py | 96.42% <0.00%> (-1.79%) | :arrow_down: | | datasette/database.py | 92.93% <0.00%> (-0.75%) | :arrow_down: |


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 48f1199...fcfaec1. Read the comment docs.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update aiofiles requirement from <0.8,>=0.4 to >=0.4,<0.9 1066023866  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 1007.063ms · About: github-to-sqlite