diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-04-18 14:17:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-18 14:17:08 +0200 |
commit | 63b36d641962b42b1fe71608b698b19a26656814 (patch) | |
tree | cf1d5632d6d480a0e78f44273037c0eef0b05f7f /django/db/backends/oracle/introspection.py | |
parent | dda596ca3296f5b2574cf4876a4e176594f52834 (diff) | |
download | django-63b36d641962b42b1fe71608b698b19a26656814.tar.gz |
Removed unused DatabaseIntrospection._name_to_index() from Oracle backend.
Unused since its introduction in cac7675f247da325cb862a312804fe64845d1155.
Diffstat (limited to 'django/db/backends/oracle/introspection.py')
-rw-r--r-- | django/db/backends/oracle/introspection.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/django/db/backends/oracle/introspection.py b/django/db/backends/oracle/introspection.py index 03f5cd64a0..50d9d8092c 100644 --- a/django/db/backends/oracle/introspection.py +++ b/django/db/backends/oracle/introspection.py @@ -90,13 +90,6 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): """Table name comparison is case insensitive under Oracle.""" return name.lower() - def _name_to_index(self, cursor, table_name): - """ - Return a dictionary of {field_name: field_index} for the given table. - Indexes are 0-based. - """ - return {d[0]: i for i, d in enumerate(self.get_table_description(cursor, table_name))} - def get_relations(self, cursor, table_name): """ Return a dictionary of {field_name: (field_name_other_table, other_table)} |