summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-08-14 20:52:57 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-08-14 20:52:57 -0400
commitdc31eb352aed6b578b7cf0bbc0d4290b6d11f2b2 (patch)
treef57fb2bf5a70d46aa0515ad488195d5d1f3e93c0 /lib/sqlalchemy/engine
parent504fd37d6848005730c8c68769ba9e06f83551dc (diff)
parentff1d504fc4b7df2284b9f261cd03a7568b7038e8 (diff)
downloadsqlalchemy-dc31eb352aed6b578b7cf0bbc0d4290b6d11f2b2.tar.gz
merge tip
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r--lib/sqlalchemy/engine/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 8d1138316..dbba2b62f 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -2388,9 +2388,9 @@ class ResultProxy(object):
return self.context._inserted_primary_key
- @util.deprecated("Use inserted_primary_key")
+ @util.deprecated("0.6", "Use :attr:`.ResultProxy.inserted_primary_key`")
def last_inserted_ids(self):
- """deprecated. use :attr:`~ResultProxy.inserted_primary_key`."""
+ """Return the primary key for the row just inserted."""
return self.inserted_primary_key