summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/__init__.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-01-08 16:14:47 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-01-08 16:14:47 -0500
commit4e9e0f041c151cfa08d57773b49b254f1b4f8b6a (patch)
treed562a026e88c93edae2f41ab3c1605881be3b3cd /lib/sqlalchemy/engine/__init__.py
parent411cbf29e9742806bd76a69008981fee1371fe78 (diff)
downloadsqlalchemy-4e9e0f041c151cfa08d57773b49b254f1b4f8b6a.tar.gz
- merge r43460573c27a:4993c7eae8e5d117ff342bdc59f3b0635b898e2c of 0.6 branch
Diffstat (limited to 'lib/sqlalchemy/engine/__init__.py')
-rw-r--r--lib/sqlalchemy/engine/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py
index aebf35436..e33dff53b 100644
--- a/lib/sqlalchemy/engine/__init__.py
+++ b/lib/sqlalchemy/engine/__init__.py
@@ -175,6 +175,16 @@ def create_engine(*args, **kwargs):
be applied to all connections. See
:meth:`~sqlalchemy.engine.base.Connection.execution_options`
+ :param implicit_returning=True: When ``False``, the RETURNING
+ feature of the database, if available, will not be used
+ to fetch newly generated primary key values. This applies
+ to those backends which support RETURNING or a compatible
+ construct, including Postgresql, Firebird, Oracle, Microsoft
+ SQL Server. The default behavior is to use a compatible RETURNING
+ construct when a single-row INSERT statement is emitted with no
+ existing returning() clause in order to fetch newly generated
+ primary key values.
+
:param label_length=None: optional integer value which limits
the size of dynamically generated column labels to that many
characters. If less than 6, labels are generated as