summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
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