commits

3 rows where author = 96218 sorted by author_date descending

View and edit SQL

Suggested facets: author_date (date), committer_date (date)

repo

author

  • simonwiles · 3
sha message author_date ▲ committer_date raw_author raw_committer repo author committer
367082e787101fb90901ef3214804ab23a92ce46 Typos in tests (#156) Thanks @simonwiles 2020-09-09T18:21:22Z 2020-09-09T18:21:22Z Simon Wiles a02cf01c415b3ca2d3b4458167191f30850ff9dd GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonwiles 96218 web-flow 19864447
e6d202b742a7b531fffa593703d34f8337632d68 Handle case where subsequent records (after first batch) include extra columns Refs #145. * Extract build_insert_queries_and_params * Extract insert_chunk so it can be called recursively Thanks, @simonwiles 2020-09-08T23:20:36Z 2020-09-08T23:20:36Z Simon Wiles a02cf01c415b3ca2d3b4458167191f30850ff9dd GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonwiles 96218 web-flow 19864447
947bb7626fd1763608a470adf9cf5f156ef003e9 insert_all(..., alter=True) works for columns introduced after first 100 records * Insert all columns for every chunk * Update unit test to reflect new behaviour * Test that exception is raised * Update documentation Closes #139. Thanks, Simon Wiles! 2020-08-28T22:30:13Z 2020-08-28T22:30:13Z Simon Wiles a02cf01c415b3ca2d3b4458167191f30850ff9dd GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonwiles 96218 web-flow 19864447

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Query took 29.553ms · About: github-to-sqlite