home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 944326512 and user = 9599 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 · 6 ✖

issue 1

  • `table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option · 6 ✖

author_association 1

  • OWNER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
901399139 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901399139 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41ukJj simonw 9599 2021-08-18T20:12:34Z 2021-08-18T20:13:12Z OWNER

Documentation for table.search(..., quote=True): https://sqlite-utils.datasette.io/en/latest/python-api.html#searching-with-table-search

In the API reference: https://sqlite-utils.datasette.io/en/latest/reference.html#sqlite_utils.db.Table.search

And for the CLI --quote option: https://sqlite-utils.datasette.io/en/latest/cli.html#executing-searches

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  
901398216 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901398216 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41uj7I simonw 9599 2021-08-18T20:11:01Z 2021-08-18T20:11:01Z OWNER

``` % sqlite-utils search fixtures.db searchable 'dog"' Error: malformed MATCH expression: [dog"]

Try running this again with the --quote option ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  
901390635 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901390635 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41uiEr simonw 9599 2021-08-18T19:58:53Z 2021-08-18T19:58:53Z OWNER

sqlite-utils search fixtures.db searchable 'dog"' Error: malformed MATCH expression: [dog"] This error message could suggest retrying with --quote.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  
901379930 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901379930 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41ufda simonw 9599 2021-08-18T19:40:38Z 2021-08-18T19:40:38Z OWNER

Also add sqlite-utils search ... --quote option.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  
901338841 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901338841 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41uVbZ simonw 9599 2021-08-18T18:33:26Z 2021-08-18T18:45:12Z OWNER

I think I'll do this as an optional table.search(..., escape=True) parameter.

Actually I'll do quote=True for consistency with the new db.quote_fts() method.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  
901338356 https://github.com/simonw/sqlite-utils/issues/296#issuecomment-901338356 https://api.github.com/repos/simonw/sqlite-utils/issues/296 IC_kwDOCGYnMM41uVT0 simonw 9599 2021-08-18T18:32:39Z 2021-08-18T18:32:39Z OWNER

This is a good call. I have a fix for this in Datasette but it's not in sqlite-utils yet: https://github.com/simonw/datasette/blob/adb5b70de5cec3c3dd37184defe606a082c232cf/datasette/utils/init.py#L824-L835

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.search(..., quote=True)` parameter and `sqlite-utils search --quote` option 944326512  

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