home / github

Menu
  • GraphQL API

commits

Table actions
  • GraphQL API for commits

1 row where "author_date" is on date 2019-01-27 sorted by sha descending

✎ View and edit SQL

This data as json, CSV (advanced)

author_date (date) 1 ✖

  • 2019-01-27 · 1 ✖
sha ▲ message author_date committer_date raw_author raw_committer repo author committer
57fc8ce55ecbecd7af60281404cb10573be36c98 Database() constructor works with pathlib.Path 2019-01-27T23:53:41Z 2019-01-27T23:53:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599

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 · Queries took 294.195ms · About: simonw/datasette-graphql