commits
1 row where message = "Table options can now be passed to constructor OR to insert_all() If you want to set default options for a table, you can do this: table = db.table("dogs", pk="id", column_order=["name", "age"]) If you pass those keyword arguments to the .insert/.update/etc methods they will over-ride the defaults you set on the table. table = db["dogs"] # This still works too" sorted by author_date descending
This data as json, CSV (advanced)
Suggested facets: author_date (date), committer_date (date)
repo 1
sha | author_date ▲ | committer_date | raw_author | raw_committer | repo | author | committer |
---|---|---|---|---|---|---|---|
57e43baece0936d75c74711f5f6835a5c1c1ac42 | 2019-07-22T23:30:54Z | 2019-07-22T23:30:54Z | Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 | Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 | sqlite-utils 140912432 | simonw 9599 | simonw 9599 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [commits] ( [sha] TEXT PRIMARY KEY, [message] TEXT, [author_date] TEXT, [committer_date] TEXT, [raw_author] TEXT REFERENCES [raw_authors]([id]), [raw_committer] TEXT REFERENCES [raw_authors]([id]), [repo] INTEGER REFERENCES [repos]([id]), [author] INTEGER REFERENCES [users]([id]), [committer] INTEGER REFERENCES [users]([id]) ); CREATE INDEX [idx_commits_committer] ON [commits] ([committer]); CREATE INDEX [idx_commits_author] ON [commits] ([author]); CREATE INDEX [idx_commits_repo] ON [commits] ([repo]); CREATE INDEX [idx_commits_raw_committer] ON [commits] ([raw_committer]); CREATE INDEX [idx_commits_raw_author] ON [commits] ([raw_author]);