Skip to content

Commit

Permalink
docs: Add a link about server-side cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 16, 2024
1 parent b8bcf7a commit f63a247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions csvkit/utilities/sql2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def add_arguments(self):
'--execution-option', dest='execution_option', nargs=2, action='append',
# https://docs.sqlalchemy.org/en/20/core/connections.html#sqlalchemy.engine.Connection.execution_options.params.no_parameters
# https://docs.sqlalchemy.org/en/20/core/connections.html#sqlalchemy.engine.Connection.execution_options.params.stream_results
# https://docs.sqlalchemy.org/en/20/core/connections.html#using-server-side-cursors-a-k-a-stream-results
default=[['no_parameters', True], ['stream_results', True]],
help="A keyword argument to SQLAlchemy's execution_options(), as a space-separated pair. "
"This option can be specified multiple times. For example: stream_results True")
Expand Down

0 comments on commit f63a247

Please sign in to comment.