recent_releases (view)
1 row where "date" is on date 2021-06-19 and topics contains "datasette-io"
This data as json, CSV (advanced)
Suggested facets: date (date), published_at (date), topics (array)
rowid | repo | release | date | body_markdown | published_at | topics |
---|---|---|---|---|---|---|
140912432 | https://github.com/simonw/sqlite-utils | https://github.com/simonw/sqlite-utils/releases/tag/3.10 | 2021-06-19 | This release introduces the Also new: sqlite-utils memoryThis example of ``` $ curl -s 'https://api.github.com/users/dogsheep/repos'\ | sqlite-utils memory - ' select full_name, forks_count, stargazers_count from stdin order by stargazers_count desc limit 5 ' -t full_name forks_count stargazers_count <hr>dogsheep/twitter-to-sqlite 12 225 dogsheep/github-to-sqlite 14 139 dogsheep/dogsheep-photos 5 116 dogsheep/dogsheep.github.io 7 90 dogsheep/healthkit-to-sqlite 4 85 ``` The tool works against files on disk as well. This example joins data from two CSV files:
Here the You can also use the Full documentation of this new feature is available in Querying data directly using an in-memory database. (#272) sqlite-utils insert --detect-typesThe sqlite-utils insert command can be used to insert data from JSON, CSV or TSV files into a SQLite database file. The new Other changes
|
2021-06-19T16:13:11Z | [ "cli", "click", "datasette", "datasette-io", "datasette-tool", "python", "sqlite", "sqlite-database" ] |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW recent_releases AS select repos.rowid as rowid, repos.html_url as repo, releases.html_url as release, substr(releases.published_at, 0, 11) as date, releases.body as body_markdown, releases.published_at, coalesce(repos.topics, '[]') as topics from releases join repos on repos.id = releases.repo order by releases.published_at desc;