home / github

Menu
  • GraphQL API

commits

Table actions
  • GraphQL API for commits

3 rows where "author_date" is on date 2019-01-29 sorted by author

✎ View and edit SQL

This data as json, CSV (advanced)

committer_date (date) 1 ✖

  • 2019-01-29 3

author_date (date) 1 ✖

  • 2019-01-29 · 3 ✖
sha message author_date committer_date raw_author raw_committer repo author ▼ committer
441c131db5cc68e197db19f0623ff8a96c90c3ff Better --help text for insert command 2019-01-29T15:40:34Z 2019-01-29T15:40:34Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
1843d55615fa1bdce7d06919965c40acf22b05bb @cli.command(name="csv") instead of import csv as csv_std 2019-01-29T15:37:01Z 2019-01-29T15:37:12Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
82f0f6076ab5042faf870339dc49a570133e1d2a sqlite-utils insert db.db foo - --csv New option for efficiently inserting rows from a CSV. Uses a generator so this will happily consume enormous CSV files without needing to slurp the whole thing into memory first. 2019-01-29T15:28:12Z 2019-01-29T15:28:12Z 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 96.338ms · About: simonw/datasette-graphql