]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add support for CACHE and ORDER to sequences
authorDavid Moore <davidm@j5int.com>
Wed, 5 Jul 2017 19:06:49 +0000 (15:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Jul 2017 20:23:13 +0000 (16:23 -0400)
commitacabfc72ad79e6c049e52011b69dba65e7aae026
treef217ba80dd15e621e3e456ec2508c170379d482a
parent6d6ab57c2b7feecb33207ff3a3273fefa7123acd
Add support for CACHE and ORDER to sequences

Added new keywords :paramref:`.Sequence.cache` and
:paramref:`.Sequence.order` to :class:`.Sequence`, to allow rendering
of the CACHE parameter understood by Oracle and PostgreSQL, and the
ORDER parameter understood by Oracle.  Pull request
courtesy David Moore.

Change-Id: I082c3f8ef56ef89dbaad5da9d5695be5313b0614
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/96
(cherry picked from commit faa6609dac2ce6e55e0f690df3ba88c13133ec5c)
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/engine/interfaces.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/schema.py
test/sql/test_defaults.py