mirror of
https://github.com/simonw/datasette.git
synced 2026-11-28 04:49:41 +01:00
Remove duplicate params key from stored query JSON objects
Every stored-query object carried the same list of parameter names twice, as both "params" and "parameters". Output objects now carry only "parameters", consistent with /-/query/parameters and the two analyze endpoints (and distinct from the "params" bound-values dictionary used by the query extra and /-/execute-write). "params" remains an accepted input alias for query creation, update and datasette.yaml config. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrHZSypDfMnym1tM5XJAFZ
This commit is contained in:
parent
f3f5e891c9
commit
6488b7a30e
5 changed files with 38 additions and 7 deletions
|
|
@ -1173,7 +1173,6 @@ The following extras are available for arbitrary SQL query responses and stored,
|
|||
"description_html": null,
|
||||
"hide_sql": false,
|
||||
"fragment": null,
|
||||
"params": [],
|
||||
"parameters": [],
|
||||
"is_write": false,
|
||||
"is_private": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue