summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorYuval Dinari <>2019-08-12 10:44:59 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-08-12 15:59:40 -0400
commit65f8edd45816f91688220b68cc0563797c3dc4ba (patch)
tree255475b089bb79331afc8e1eb7273dae43bbc875 /lib/sqlalchemy/sql/compiler.py
parenta168a92d0329630bfc50ceb1b52898b30059db84 (diff)
downloadsqlalchemy-65f8edd45816f91688220b68cc0563797c3dc4ba.tar.gz
Add new executemany_mode, support for psycopg2.extras.execute_values()
Added new dialect flag for the psycopg2 dialect, ``executemany_mode`` which supersedes the previous experimental ``use_batch_mode`` flag. ``executemany_mode`` supports both the "execute batch" and "execute values" functions provided by psycopg2, the latter which is used for compiled :func:`.insert` constructs. Pull request courtesy Yuval Dinari. .. seealso:: :ref:`executemany_mode` Fixes: #4623 Closes: #4764 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4764 Pull-request-sha: c3d3a36f7eb66c86d14ed9c1c31b4b48bd204855 Change-Id: I77e26ca729f9317af1488a6c054c23fa1a6b622b
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions