issue_comments
3 rows where issue = 1071531082
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 |
---|---|---|---|---|---|---|---|---|---|---|---|
987349633 | https://github.com/simonw/sqlite-utils/issues/349#issuecomment-987349633 | https://api.github.com/repos/simonw/sqlite-utils/issues/349 | IC_kwDOCGYnMM462cKB | simonw 9599 | 2021-12-06T23:19:28Z | 2021-12-06T23:19:28Z | OWNER | (I ended up not needing this here since `.lookup()` already creates a unique index on `_item_id` for you. Still could be a useful feature though.) | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | A way of creating indexes on newly created tables 1071531082 | |
987458772 | https://github.com/simonw/sqlite-utils/issues/349#issuecomment-987458772 | https://api.github.com/repos/simonw/sqlite-utils/issues/349 | IC_kwDOCGYnMM4622zU | simonw 9599 | 2021-12-07T01:00:41Z | 2021-12-07T01:00:41Z | OWNER | I think the syntax design of this looks like: ```python item_pk = db[item_table].lookup( {"_item_id": item_id}, item_to_insert, column_order=("_id", "_item_id"), pk="_id", indexes=("_version",), ) ``` So it's a sequence of column names... or a sequence of tuples for creating compound indexes: ```python db["dogs"].insert( {"name": "Cleo", "species": "Mutt", "hobbies": "Raiding picnics"}, indexes=(("name", "species"), "hobbies"), ) ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | A way of creating indexes on newly created tables 1071531082 | |
987461427 | https://github.com/simonw/sqlite-utils/issues/349#issuecomment-987461427 | https://api.github.com/repos/simonw/sqlite-utils/issues/349 | IC_kwDOCGYnMM4623cz | simonw 9599 | 2021-12-07T01:03:43Z | 2021-12-07T01:04:37Z | OWNER | In terms of types, I think that means it looks like this: ```python IndexesType = Iterable[ Union[str, Iterable[str]] ] def create( self, columns: Dict[str, Any], pk: Optional[Any] = None, ... indexes: Optional[IndexesType] = None, ): ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | A way of creating indexes on newly created tables 1071531082 |
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]);