mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Don't include columns in query JSON, refs #2136
This commit is contained in:
parent
8920d425f4
commit
e34d09c6ec
4 changed files with 14 additions and 8 deletions
|
|
@ -548,7 +548,7 @@ class QueryView(View):
|
|||
error=query_error,
|
||||
# These will be deprecated in Datasette 1.0:
|
||||
args=request.args,
|
||||
data={"rows": rows, "columns": columns},
|
||||
data={"ok": True, "rows": rows, "columns": columns},
|
||||
)
|
||||
if asyncio.iscoroutine(result):
|
||||
result = await result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue