diff options
author | Johannes Hoppe <info@johanneshoppe.com> | 2019-06-10 13:56:50 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-08 08:53:08 +0200 |
commit | bc91f27a86090b4c688b56cd4e37f95eebe6e969 (patch) | |
tree | 52d2e64c5e468f1aeb35ea89b244e38f17239aff /django/db/backends/postgresql/operations.py | |
parent | 34a88b21dae71a26a9b136b599e5cbcf817eae16 (diff) | |
download | django-bc91f27a86090b4c688b56cd4e37f95eebe6e969.tar.gz |
Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle.
This is currently not actively used, since the ORM will ask the
SQL compiler to only return auto fields.
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
-rw-r--r-- | django/db/backends/postgresql/operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index c502760e93..0c497edf71 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -235,7 +235,7 @@ class DatabaseOperations(BaseDatabaseOperations): return cursor.query.decode() return None - def return_insert_id(self): + def return_insert_id(self, field): return "RETURNING %s", () def bulk_insert_sql(self, fields, placeholder_rows): |