home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1816918185 and "updated_at" is on date 2023-07-22 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw 3

issue 1

  • `prepare_connection()` plugin hook · 3 ✖

author_association 1

  • OWNER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1646688748 https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646688748 https://api.github.com/repos/simonw/sqlite-utils/issues/574 IC_kwDOCGYnMM5iJnns simonw 9599 2023-07-22T23:12:03Z 2023-07-22T23:13:14Z OWNER

Just tried this out by adding the example from the docs to my sqlite-utils-hello-world plugin and running: bash sqlite-utils install -e ../sqlite-utils-hello-world Obtaining file:///Users/simon/Dropbox/Development/sqlite-utils-hello-world ... Then: bash sqlite-utils memory "select hello('simon')" json [{"hello('simon')": "Hello, simon!"}] Also: ```pycon

import sqlite_utils db = sqlite_utils.Database(memory=True) list(db.query("select hello('simon')")) [{"hello('simon')": 'Hello, simon!'}] db2 = sqlite_utils.Database(memory=True, execute_plugins=False) list(db2.query("select hello('simon')")) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/simon/Dropbox/Development/sqlite-utils/sqlite_utils/db.py", line 494, in query cursor = self.execute(sql, params or tuple()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/simon/Dropbox/Development/sqlite-utils/sqlite_utils/db.py", line 512, in execute return self.conn.execute(sql, parameters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sqlean.dbapi2.OperationalError: no such function: hello ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`prepare_connection()` plugin hook 1816918185  
1646688339 https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646688339 https://api.github.com/repos/simonw/sqlite-utils/issues/574 IC_kwDOCGYnMM5iJnhT simonw 9599 2023-07-22T23:08:49Z 2023-07-22T23:08:49Z OWNER

Documentation: https://sqlite-utils.datasette.io/en/latest/plugins.html#prepare-connection-conn

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`prepare_connection()` plugin hook 1816918185  
1646686477 https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646686477 https://api.github.com/repos/simonw/sqlite-utils/issues/574 IC_kwDOCGYnMM5iJnEN simonw 9599 2023-07-22T22:52:56Z 2023-07-22T22:52:56Z OWNER

Alex built this in: - #573

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`prepare_connection()` plugin hook 1816918185  

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 22.147ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows