mirror of
https://github.com/simonw/datasette.git
synced 2026-06-05 08:37:00 +02:00
Visiting /<database>/-/query without ?sql= was reaching derive_named_parameters(None), validate_sql_select(None) and the CSV fetch path with sql=None. Skip those blocks when sql is empty so the SQL editor form renders. Also guard the template fallback for databases with no tables, and update the test plugin's query_actions hook so it tolerates sql=None. |
||
|---|---|---|
| .. | ||
| messages_output_renderer.py | ||
| my_plugin.py | ||
| my_plugin_2.py | ||
| register_output_renderer.py | ||
| sleep_sql_function.py | ||
| view_name.py | ||