summaryrefslogtreecommitdiff
path: root/doc/build
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-01-05 14:11:12 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-01-05 14:11:12 -0500
commit196f7ee6cc132aa0f31741af80fa5c0ba77efcf2 (patch)
treeef4b141ad83f1698b89f0e247f99475a0621a951 /doc/build
parent7658a4c73c1e60cc4549389a72a2af26acfa51fc (diff)
downloadsqlalchemy-196f7ee6cc132aa0f31741af80fa5c0ba77efcf2.tar.gz
- conjunctions like and_() and or_() can now accept generators as arguments.
Diffstat (limited to 'doc/build')
-rw-r--r--doc/build/changelog/changelog_09.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst
index 2dbb9702d..97da9e20c 100644
--- a/doc/build/changelog/changelog_09.rst
+++ b/doc/build/changelog/changelog_09.rst
@@ -17,6 +17,17 @@
.. change::
:tags: feature, core
+ Conjunctions like :func:`.and_` and :func:`.or_` can now accept
+ Python generators as a single argument, e.g.::
+
+ and_(x == y for x, y in tuples)
+
+ The logic here looks for a single argument ``*args`` where the first
+ element is an instance of ``types.GeneratorType``.
+
+ .. change::
+ :tags: feature, core
+
The :paramref:`.Table.extend_existing` and :paramref:`.Table.autoload_replace`
parameters are now available on the :meth:`.MetaData.reflect`
method.