home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 549287310

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: user, author_association, created_at (date), updated_at (date)

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
614354219 https://github.com/simonw/sqlite-utils/issues/76#issuecomment-614354219 https://api.github.com/repos/simonw/sqlite-utils/issues/76 MDEyOklzc3VlQ29tbWVudDYxNDM1NDIxOQ== simonw 9599 2020-04-16T01:01:34Z 2020-04-16T01:01:34Z OWNER I think a neat way to do this would be with an optional argument for `.rows_where()`: ```python rows = db["table"].rows_where("age > 10", order_by="age desc") ``` If you want everything you can use this: ```python rows = db["table"].rows_where(order_by="age desc") ``` It's a tiny bit weird calling `.rows_where()` without a where clause, but I think it makes sense here - especially since `.rows` is a property that can't take any arguments - though under the hood it actually does this: https://github.com/simonw/sqlite-utils/blob/ad6ac19470a67867b96cb4c086450b8e4e46bf02/sqlite_utils/db.py#L436-L443 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} order_by mechanism 549287310  
614400454 https://github.com/simonw/sqlite-utils/issues/76#issuecomment-614400454 https://api.github.com/repos/simonw/sqlite-utils/issues/76 MDEyOklzc3VlQ29tbWVudDYxNDQwMDQ1NA== simonw 9599 2020-04-16T03:51:01Z 2020-04-16T03:51:01Z OWNER Released in 2.6 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} order_by mechanism 549287310  
614400533 https://github.com/simonw/sqlite-utils/issues/76#issuecomment-614400533 https://api.github.com/repos/simonw/sqlite-utils/issues/76 MDEyOklzc3VlQ29tbWVudDYxNDQwMDUzMw== simonw 9599 2020-04-16T03:51:26Z 2020-04-16T03:51:26Z OWNER Documentation here: https://sqlite-utils.readthedocs.io/en/stable/python-api.html#listing-rows {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} order_by mechanism 549287310  
614440032 https://github.com/simonw/sqlite-utils/issues/76#issuecomment-614440032 https://api.github.com/repos/simonw/sqlite-utils/issues/76 MDEyOklzc3VlQ29tbWVudDYxNDQ0MDAzMg== metab0t 10501166 2020-04-16T06:23:29Z 2020-04-16T06:23:29Z NONE Thanks for your hard work! {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} order_by mechanism 549287310  

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 15.442ms · About: simonw/datasette-graphql