home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "OWNER", "updated_at" is on date 2020-01-30 and user = 9599 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 4

  • How do I use the app.css as style sheet? 1
  • --port option to expose a port other than 8001 in "datasette package" 1
  • Escape_fts5_query-hookimplementation does not work with queries to standard tables 1
  • Ability to insert data that is transformed by a SQL function 1

user 1

  • simonw · 4 ✖

author_association 1

  • OWNER · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
580515506 https://github.com/simonw/sqlite-utils/issues/77#issuecomment-580515506 https://api.github.com/repos/simonw/sqlite-utils/issues/77 MDEyOklzc3VlQ29tbWVudDU4MDUxNTUwNg== simonw 9599 2020-01-30T23:48:41Z 2020-01-30T23:48:41Z OWNER

Potential design: a conversions={} option. Used like this: python db[table].insert(record, conversions={"geom": "GeomFromText(?, 4326)"}) The conversions= key would be supported on .insert(), .insert_all(), .upsert() etc. It could also be passed to the db.table() constructor function: ```python table = db.table( "features", pk="id", conversions={ "geom": "GeomFromText(?, 4326)" } )

Then used like this:

table.insert(record) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to insert data that is transformed by a SQL function 557825032  
580029288 https://github.com/simonw/datasette/issues/658#issuecomment-580029288 https://api.github.com/repos/simonw/datasette/issues/658 MDEyOklzc3VlQ29tbWVudDU4MDAyOTI4OA== simonw 9599 2020-01-30T00:32:43Z 2020-01-30T00:32:43Z OWNER

Can you share how your file layout is working?

You should have something like this:

static/app.css - a CSS file

Then run Datasette like this:

datasette my.db --static-dir=static:static/

Then http://127.0.0.1:8001/static/app.css should serve your CSS.

Could you share the command you're using to deploy to Heroku?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
How do I use the app.css as style sheet? 550293770  
580028669 https://github.com/simonw/datasette/issues/662#issuecomment-580028669 https://api.github.com/repos/simonw/datasette/issues/662 MDEyOklzc3VlQ29tbWVudDU4MDAyODY2OQ== simonw 9599 2020-01-30T00:30:19Z 2020-01-30T00:30:19Z OWNER

I just shipped 0.34: https://datasette.readthedocs.io/en/stable/changelog.html#v0-34

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Escape_fts5_query-hookimplementation does not work with queries to standard tables 556814876  
580028593 https://github.com/simonw/datasette/issues/661#issuecomment-580028593 https://api.github.com/repos/simonw/datasette/issues/661 MDEyOklzc3VlQ29tbWVudDU4MDAyODU5Mw== simonw 9599 2020-01-30T00:30:04Z 2020-01-30T00:30:04Z OWNER

This has now shipped as part of Datasette 0.34: https://datasette.readthedocs.io/en/stable/changelog.html#v0-34

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
--port option to expose a port other than 8001 in "datasette package" 555832585  

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 527.43ms · About: github-to-sqlite