releases
1 row where author = 9599, "created_at" is on date 2018-04-17 and repo = 107914493 sorted by created_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), published_at (date)
id | html_url | node_id | tag_name | target_commitish | name | draft | author | prerelease | created_at ▲ | published_at | body | repo | reactions |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10575542 | https://github.com/simonw/datasette/releases/tag/0.19 | MDc6UmVsZWFzZTEwNTc1NTQy | 0.19 | main | Datasette 0.19: plugins preview | 0 | simonw 9599 | 0 | 2018-04-17T02:12:21Z | 2018-04-17T02:21:51Z | This is the first preview of the new Datasette plugins mechanism. Only two plugin hooks are available so far - for custom SQL functions and custom template filters. There's plenty more to come - read the documentation and get involved in the tracking ticket if you have feedback on the direction so far.
https://datasette.readthedocs.io/en/latest/plugins.html
New option causing Datasette to load and evaluate all of the Python files in the specified directory and register any plugins that are defined in those files. This new option is available for the following commands:
Uses https://pluggy.readthedocs.io/ originally created for the py.test project We're starting with two plugin hooks:
This is called when a new SQLite connection is created. It can be used to register custom SQL functions.
This is called with the Jinja2 environment. It can be used to register custom template tags and filters. An example plugin which uses these two hooks can be found at https://github.com/simonw/datasette-plugin-demos or installed using Refs #14
This also stops it filling up the logs. This happens for HEAD requests at the moment - which perhaps should be handled better, but that's a different issue. |
datasette 107914493 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [releases] ( [html_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [tag_name] TEXT, [target_commitish] TEXT, [name] TEXT, [draft] INTEGER, [author] INTEGER REFERENCES [users]([id]), [prerelease] INTEGER, [created_at] TEXT, [published_at] TEXT, [body] TEXT, [repo] INTEGER REFERENCES [repos]([id]) , [reactions] TEXT); CREATE INDEX [idx_releases_repo] ON [releases] ([repo]); CREATE INDEX [idx_releases_author] ON [releases] ([author]);