home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 570301333

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
590675727 https://github.com/simonw/datasette/issues/684#issuecomment-590675727 https://api.github.com/repos/simonw/datasette/issues/684 MDEyOklzc3VlQ29tbWVudDU5MDY3NTcyNw== simonw 9599 2020-02-25T04:20:42Z 2020-02-26T00:03:19Z OWNER Here's what I have so far: ``` db.name db.size db.mtime_ns await db.table_exists(table) await db.table_names() await db.table_columns(table) await db.primary_keys(table) Returns the names of the columns that are part of the primary key for this table. await db.fts_table(table) Returns the name of the FTS table associated with this table, if one exists. await db.label_column_for_table(table) Returns the label column that is associated with this table - either automatically detected or using the ``"label_column"`` key from :ref:`metadata`. await db.foreign_keys_for_table(table) await db.hidden_table_names() await db.view_names() await db.get_all_foreign_keys() await db.get_outbound_foreign_keys(table) await db.get_table_definition(table) await db.get_view_definition(view) ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Add documentation on Database introspection methods to internals.rst 570301333  
590681375 https://github.com/simonw/datasette/issues/684#issuecomment-590681375 https://api.github.com/repos/simonw/datasette/issues/684 MDEyOklzc3VlQ29tbWVudDU5MDY4MTM3NQ== simonw 9599 2020-02-25T04:47:01Z 2020-02-25T04:47:01Z OWNER This page here: https://datasette.readthedocs.io/en/latest/internals.html {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Add documentation on Database introspection methods to internals.rst 570301333  
591062343 https://github.com/simonw/datasette/issues/684#issuecomment-591062343 https://api.github.com/repos/simonw/datasette/issues/684 MDEyOklzc3VlQ29tbWVudDU5MTA2MjM0Mw== simonw 9599 2020-02-25T20:50:32Z 2020-02-25T20:50:32Z OWNER More important is to document `execute()` - see #685 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Add documentation on Database introspection methods to internals.rst 570301333  
639053707 https://github.com/simonw/datasette/issues/684#issuecomment-639053707 https://api.github.com/repos/simonw/datasette/issues/684 MDEyOklzc3VlQ29tbWVudDYzOTA1MzcwNw== simonw 9599 2020-06-04T18:56:15Z 2020-06-04T18:56:15Z OWNER This documentation is live here: https://datasette.readthedocs.io/en/latest/internals.html#database-introspection {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Add documentation on Database introspection methods to internals.rst 570301333  

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