issue_comments
13 rows where "created_at" is on date 2021-11-29 and issue = 1066474200 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Support STRICT tables · 13 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
982076924 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982076924 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iU38 | simonw 9599 | 2021-11-29T22:20:44Z | 2021-11-29T22:20:44Z | OWNER | Need to figure out a good pattern for testing this in CI too - it will currently skip the new tests if it doesn't have SQLite 3.37 or higher. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982076702 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982076702 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iU0e | simonw 9599 | 2021-11-29T22:20:22Z | 2021-11-29T22:20:22Z | OWNER | I haven't documented I need to remember to document it once I add documentation for the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982049148 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982049148 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iOF8 | simonw 9599 | 2021-11-29T21:40:59Z | 2021-11-29T21:40:59Z | OWNER | I'm going to add that as |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982048918 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982048918 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iOCW | simonw 9599 | 2021-11-29T21:40:42Z | 2021-11-29T21:40:42Z | OWNER | Here's a function that detects if def supports_strict_tables(db = None): if db is None: db = sqlite3.connect(":memory:") try: table_name = 't{}'.format(secrets.token_hex(16)) with db: db.execute("create table {} (name text) strict".format(table_name)) db.execute("drop table {}".format(table_name)) return True except: return False ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982026918 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982026918 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iIqm | simonw 9599 | 2021-11-29T21:11:42Z | 2021-11-29T21:16:31Z | OWNER | Made myself a test strict table like so: ```pycon
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982020757 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982020757 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iHKV | simonw 9599 | 2021-11-29T21:03:34Z | 2021-11-29T21:03:34Z | OWNER | From the STRICT docs:
So I think I need to read the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982018304 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982018304 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGkA | simonw 9599 | 2021-11-29T21:00:02Z | 2021-11-29T21:00:02Z | OWNER | Is there a need for an introspection function for telling if a SQLite table is in strict mode or not? How would that work? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982017994 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982017994 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGfK | simonw 9599 | 2021-11-29T20:59:37Z | 2021-11-29T20:59:37Z | OWNER | I'm leaning towards silently ignore if SQLite version doesn't support it. That means that the first time you attempt to use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982016594 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982016594 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGJS | simonw 9599 | 2021-11-29T20:57:42Z | 2021-11-29T20:57:42Z | OWNER | What should happen if you attempt to use An obvious error would be best... but how about silently ignoring it on older versions instead? That would match how we handle |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982014776 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982014776 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iFs4 | simonw 9599 | 2021-11-29T20:55:19Z | 2021-11-29T20:55:19Z | OWNER | There are a few places that the
I'll definitely implement the first one, and likely the second one too. I'm on the fence with regards to the third one. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982006544 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982006544 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iDsQ | simonw 9599 | 2021-11-29T20:44:37Z | 2021-11-29T20:48:43Z | OWNER | This worked:
```pycon
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
981999025 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-981999025 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iB2x | simonw 9599 | 2021-11-29T20:34:38Z | 2021-11-29T20:35:58Z | OWNER | I'm going to build my own |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
981997973 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-981997973 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iBmV | simonw 9599 | 2021-11-29T20:33:52Z | 2021-11-29T20:33:52Z | OWNER | From that page:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 |
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 1