issue_comments
3 rows where "created_at" is on date 2019-04-18 sorted by created_at
This data as json, CSV (advanced)
Suggested facets: issue_url, updated_at (date)
id | html_url | issue_url | node_id | user | created_at ▼ | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
484584234 | https://github.com/simonw/datasette/pull/432#issuecomment-484584234 | https://api.github.com/repos/simonw/datasette/issues/432 | MDEyOklzc3VlQ29tbWVudDQ4NDU4NDIzNA== | simonw 9599 | 2019-04-18T16:33:52Z | 2019-04-18T16:33:52Z | OWNER | It would be nice to decouple the
Can I pull those needs out of the Facet class somehow? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Refactor facets to a class and new plugin, refs #427 432893491 | |
484694648 | https://github.com/simonw/datasette/pull/434#issuecomment-484694648 | https://api.github.com/repos/simonw/datasette/issues/434 | MDEyOklzc3VlQ29tbWVudDQ4NDY5NDY0OA== | simonw 9599 | 2019-04-18T21:23:56Z | 2019-04-18T21:23:56Z | OWNER | Thanks for looking into this! To clarify: currently, the Dockerfile that we generate looks something like this:
Your code here changes that CMD line to look like this instead, in order to set the port based on an environment variable:
I wonder if this is the only way to do this? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
"datasette publish cloudrun" command to publish to Google Cloud Run 434321685 | |
484699119 | https://github.com/simonw/datasette/pull/434#issuecomment-484699119 | https://api.github.com/repos/simonw/datasette/issues/434 | MDEyOklzc3VlQ29tbWVudDQ4NDY5OTExOQ== | simonw 9599 | 2019-04-18T21:40:45Z | 2019-04-18T21:40:45Z | OWNER | I asked @andrewgodwin about this and he confirmed that if we want to read an environment variable we can't use the He did suggest that if we're doing
We should apply some command-line escaping here - if the user passes It looks like shlex.quote is the right way to do that. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
"datasette publish cloudrun" command to publish to Google Cloud Run 434321685 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
issue 2