-
-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?_nocount=1 for opting out of table counts #1353
Labels
Comments
I'm going to rename |
simonw
added a commit
that referenced
this issue
Jun 1, 2021
simonw
added a commit
that referenced
this issue
Jun 1, 2021
simonw
added a commit
that referenced
this issue
Jun 2, 2021
simonw
added a commit
that referenced
this issue
Jun 2, 2021
simonw
added a commit
that referenced
this issue
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running a trace against a CSV streaming export with the new
_trace=1
feature from #1351 shows that the following code is executing aselect count(*) from table
for every page of results returned:datasette/datasette/views/table.py
Lines 700 to 705 in d1d06ac
This is inefficient - a new
?_nocount=1
option would let us disable this count in the same way as #1349:datasette/datasette/views/base.py
Lines 264 to 276 in d1d06ac
The text was updated successfully, but these errors were encountered: