summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-20 12:49:28 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-20 12:49:28 -0400
commit90335a89a98df23db7a3ae1233eb4fbb5743d2e8 (patch)
tree9a4ac236f83696709bd355dcac22552aeb177694 /CHANGES
parent75c78aa714ca55818f0ba12a67cf2f77927b68f7 (diff)
downloadsqlalchemy-90335a89a98df23db7a3ae1233eb4fbb5743d2e8.tar.gz
- Added new generic function "next_value()", accepts
a Sequence object as its argument and renders the appropriate "next value" generation string on the target platform, if supported. Also provides ".next_value()" method on Sequence itself. [ticket:2085] - added tests for all the conditions described in [ticket:2085] - postgresql dialect will exec/compile a Sequence that has "optional=True". the optional flag is now only checked specifically in the context of a Table primary key evaulation. - func.next_value() or other SQL expression can be embedded directly into an insert() construct, and if implicit or explicit "returning" is used in conjunction with a primary key column, the newly generated value will be present in result.inserted_primary_key. [ticket:2084]
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES14
1 files changed, 14 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index c7e872340..f4d32a604 100644
--- a/CHANGES
+++ b/CHANGES
@@ -84,6 +84,20 @@ CHANGES
(<eventname>, <fn>), which are applied to the Table
before the reflection process begins.
+ - Added new generic function "next_value()", accepts
+ a Sequence object as its argument and renders the
+ appropriate "next value" generation string on the
+ target platform, if supported. Also provides
+ ".next_value()" method on Sequence itself.
+ [ticket:2085]
+
+ - func.next_value() or other SQL expression can
+ be embedded directly into an insert() construct,
+ and if implicit or explicit "returning" is used
+ in conjunction with a primary key column,
+ the newly generated value will be present in
+ result.inserted_primary_key. [ticket:2084]
+
- engine
- Fixed AssertionPool regression bug. [ticket:2097]