]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
got the docs totally wrong on that
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Mar 2014 05:19:18 +0000 (00:19 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Mar 2014 05:19:18 +0000 (00:19 -0500)
alembic/operations.py
docs/build/changelog.rst

index c11d381802eaf8310bb14e36c9aecfdb357ca2be..21038f83fd30e375751b5e9597ece85a78baf7f3 100644 (file)
@@ -822,13 +822,13 @@ class Operations(object):
                     {'id':3, 'name':'Wendy Jones',
                             'create_date':op.inline_literal("2008-08-15")},
                 ],
-                multiparams=False
+                multiinsert=False
             )
 
         When using :meth:`.Operations.inline_literal` in conjunction with
         :meth:`.Operations.bulk_insert`, in order for the statement to work
         in "online" (e.g. non --sql) mode, the
-        :paramref:`~.Operations.inline_literal.multiparams`
+        :paramref:`~.Operations.bulk_insert.multiinsert`
         flag should be set to ``False``, which will have the effect of
         individual INSERT statements being emitted to the database, each
         with a distinct VALUES clause, so that the "inline" values can
@@ -837,7 +837,7 @@ class Operations(object):
 
         .. versionadded:: 0.6.4 :meth:`.Operations.inline_literal` can now
            be used with :meth:`.Operations.bulk_insert`, and the
-           :paramref:`~.Operations.inline_literal.multiparams` flag has
+           :paramref:`~.Operations.bulk_insert.multiinsert` flag has
            been added to assist in this usage when running in "online"
            mode.
 
index 69b64f992137c79af1979330c6d805ac59cb9e5c..2c592ab34db9253fe5e9333cf87948ebd1317b32 100644 (file)
@@ -13,7 +13,7 @@ Changelog
       properly when :meth:`.Operations.inline_literal` values were used,
       either in --sql or non-sql mode.    The values will now render
       directly in --sql mode.  For compatibility with "online" mode,
-      a new flag :paramref:`~.Operations.inline_literal.multiparams`
+      a new flag :paramref:`~.Operations.bulk_insert.multiinsert`
       can be set to False which will cause each parameter set to be
       compiled and executed with individual INSERT statements.