issue_comments
2 rows where issue = 1844213115
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 |
---|---|---|---|---|---|---|---|---|---|---|---|
1672353428 | https://github.com/simonw/datasette/issues/2138#issuecomment-1672353428 | https://api.github.com/repos/simonw/datasette/issues/2138 | IC_kwDOBm6k_c5jrhaU | simonw 9599 | 2023-08-10T00:20:56Z | 2023-08-10T00:20:56Z | OWNER | Goal here is to customize the message displayed after a query has succeeded. e.g. ```yaml databases: mydatabase: queries: add_name: sql: INSERT INTO names (name) VALUES (:name) write: true on_success_message_sql: 'select ''Name inserted: '' || :name' on_success_redirect: /mydatabase/names ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | on_success_message_sql option for writable canned queries 1844213115 | |
1672366410 | https://github.com/simonw/datasette/issues/2138#issuecomment-1672366410 | https://api.github.com/repos/simonw/datasette/issues/2138 | IC_kwDOBm6k_c5jrklK | simonw 9599 | 2023-08-10T00:39:16Z | 2023-08-10T00:39:16Z | OWNER | Here's what it looks like when it works: <img width="715" alt="image" src="https://github.com/simonw/datasette/assets/9599/a53efc81-8ceb-44a2-b083-2efb27d20cf7"> And here's what you get if there's a SQL error in the `on_success_message_sql` query itself: <img width="715" alt="CleanShot 2023-08-09 at 17 38 12@2x" src="https://github.com/simonw/datasette/assets/9599/e211cee2-3edb-475a-906d-b0bb5a118d77"> | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | on_success_message_sql option for writable canned queries 1844213115 |
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]);