issue_comments
19 rows where "created_at" is on date 2022-08-23 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, reactions, created_at (date)
issue 6
- Mechanism for ensuring a table has all the columns 11
- Add new entrypoint option to `--load-extension` 3
- Test `--load-extension` in GitHub Actions 2
- Extract columns cannot create foreign key relation: sqlite3.OperationalError: table sqlite_master may not be modified 1
- Updating metadata.json on Datasette for MacOS 1
- db[table].create(..., transform=True) and create-table --transform 1
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1224412060 | https://github.com/simonw/sqlite-utils/pull/468#issuecomment-1224412060 | https://api.github.com/repos/simonw/sqlite-utils/issues/468 | IC_kwDOCGYnMM5I-wuc | codecov[bot] 22429695 | 2022-08-23T17:30:24Z | 2022-08-27T23:11:44Z | NONE | Codecov Report
```diff @@ Coverage Diff @@ main #468 +/-==========================================
- Coverage 96.60% 96.47% -0.13% | Impacted Files | Coverage Δ | |
|---|---|---|
| sqlite_utils/cli.py | Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
db[table].create(..., transform=True) and create-table --transform 1348294436 | |
1224606178 | https://github.com/simonw/datasette/pull/1792#issuecomment-1224606178 | https://api.github.com/repos/simonw/datasette/issues/1792 | IC_kwDOBm6k_c5I_gHi | codecov[bot] 22429695 | 2022-08-23T18:49:07Z | 2022-08-24T00:11:37Z | NONE | Codecov Report
```diff @@ Coverage Diff @@ main #1792 +/-==========================================
+ Coverage 91.66% 91.71% +0.04% | Impacted Files | Coverage Δ | |
|---|---|---|
| datasette/database.py | Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test `--load-extension` in GitHub Actions 1348394901 | |
1224869578 | https://github.com/simonw/datasette/pull/1792#issuecomment-1224869578 | https://api.github.com/repos/simonw/datasette/issues/1792 | IC_kwDOBm6k_c5JAgbK | simonw 9599 | 2022-08-23T20:47:59Z | 2022-08-23T20:47:59Z | OWNER | Really weird: the tests are failing on Python 3.7 only for some reason, in a test that should be completely unrelated to this extension feature. https://github.com/simonw/datasette/runs/7982525580?check_suite_focus=true |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test `--load-extension` in GitHub Actions 1348394901 | |
1224592097 | https://github.com/simonw/datasette/pull/1789#issuecomment-1224592097 | https://api.github.com/repos/simonw/datasette/issues/1789 | IC_kwDOBm6k_c5I_crh | simonw 9599 | 2022-08-23T18:42:51Z | 2022-08-23T18:42:51Z | OWNER | Looks like it's not actually necessary to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add new entrypoint option to `--load-extension` 1344823170 | |
1224569313 | https://github.com/simonw/datasette/pull/1789#issuecomment-1224569313 | https://api.github.com/repos/simonw/datasette/issues/1789 | IC_kwDOBm6k_c5I_XHh | simonw 9599 | 2022-08-23T18:33:08Z | 2022-08-23T18:33:08Z | OWNER | I'm going to merge as-is and then figure out the GitHub Actions bit separately. Thanks! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add new entrypoint option to `--load-extension` 1344823170 | |
1224388810 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224388810 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-rDK | simonw 9599 | 2022-08-23T17:21:16Z | 2022-08-23T17:21:16Z | OWNER | Also needs comprehensive tests and documentation. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224386951 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224386951 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-qmH | simonw 9599 | 2022-08-23T17:20:07Z | 2022-08-23T17:20:07Z | OWNER | Example of that prototype working: ```pycon <Table dogs (id, name)> >>> db["dogs"].create({"id": int, "name": str, "age": int}, pk="id", transform=True) <Table dogs (id, name, age)> ``` |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224385575 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224385575 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-qQn | simonw 9599 | 2022-08-23T17:19:00Z | 2022-08-23T17:19:00Z | OWNER | Initial prototype:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224382336 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224382336 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-peA | jefftriplett 50527 | 2022-08-23T17:16:13Z | 2022-08-23T17:16:13Z | CONTRIBUTOR |
I would lean towards not dropping them (or making a I do like that sqlite-utils mostly just works with existing tables but it's also nice to add to existing fields in a few cases. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224283367 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224283367 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-RTn | simonw 9599 | 2022-08-23T16:05:55Z | 2022-08-23T16:05:55Z | OWNER | ... but that's what the So maybe this is actually a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224280225 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224280225 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-Qih | simonw 9599 | 2022-08-23T16:03:33Z | 2022-08-23T16:03:33Z | OWNER | Maybe there should be a separate |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224278280 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224278280 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-QEI | simonw 9599 | 2022-08-23T16:02:07Z | 2022-08-23T16:02:07Z | OWNER | Thinking about this more, I think |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224272854 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224272854 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-OvW | simonw 9599 | 2022-08-23T15:58:14Z | 2022-08-23T15:58:14Z | OWNER | Could call it |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224271324 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224271324 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-OXc | simonw 9599 | 2022-08-23T15:56:58Z | 2022-08-23T15:56:58Z | OWNER | Should passing It could even spot column types that aren't correct and fix those. Is that consistent with the expectations set by how |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224268273 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224268273 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-Nnx | simonw 9599 | 2022-08-23T15:54:24Z | 2022-08-23T15:54:24Z | OWNER | I'm not crazy about having to pass both |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224264744 | https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224264744 | https://api.github.com/repos/simonw/sqlite-utils/issues/467 | IC_kwDOCGYnMM5I-Mwo | simonw 9599 | 2022-08-23T15:51:29Z | 2022-08-23T15:53:29Z | OWNER | Jeff suggested
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for ensuring a table has all the columns 1348169997 | |
1224080105 | https://github.com/simonw/datasette/issues/1791#issuecomment-1224080105 | https://api.github.com/repos/simonw/datasette/issues/1791 | IC_kwDOBm6k_c5I9frp | ment4list 1780782 | 2022-08-23T13:29:51Z | 2022-08-23T13:29:51Z | NONE | For now I've installed datasette via homebrew. I then converted my CSV to SQLite via sqlite-utils as per the article Cleaning data with sqlite. Now I can use my
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Updating metadata.json on Datasette for MacOS 1347717749 | |
1223378004 | https://github.com/simonw/sqlite-utils/issues/235#issuecomment-1223378004 | https://api.github.com/repos/simonw/sqlite-utils/issues/235 | IC_kwDOCGYnMM5I60RU | wpears 1558033 | 2022-08-23T00:44:11Z | 2022-08-23T00:44:11Z | NONE | This bug affects me as well. Env:
Similar to @mdrovdahl, I was able to work around this bug by piping the SQL string constructed in
Then from your terminal:
If you want to run this with |
{ "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 } |
Extract columns cannot create foreign key relation: sqlite3.OperationalError: table sqlite_master may not be modified 810618495 | |
1223347322 | https://github.com/simonw/datasette/pull/1789#issuecomment-1223347322 | https://api.github.com/repos/simonw/datasette/issues/1789 | IC_kwDOBm6k_c5I6sx6 | asg017 15178711 | 2022-08-23T00:03:20Z | 2022-08-23T00:03:20Z | CONTRIBUTOR | @simonw to build the extension on ubuntu, you can run:
I'm not the best with Actions, but if you set the cache key to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add new entrypoint option to `--load-extension` 1344823170 |
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]);
user 6