Module ImportFrom alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Str Str TryExcept body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num Num body Return Str orelse Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Return ListComp Call AttributeLoad SubscriptLoad NameLoad Index Num attr comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd TupleLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Dict Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list decorator_list
N/A django.db.backends BaseDatabaseIntrospection N/A cx_Oracle N/A re N/A foreign_key_re N/A N/A re compile \sCONSTRAINT `[^`]*` FOREIGN KEY \(`([^`]*)`\) REFERENCES `([^`]*)` \(`([^`]*)`\) DatabaseIntrospection N/A BaseDatabaseIntrospection N/A N/A data_types_reverse N/A N/A cx_Oracle CLOB N/A cx_Oracle DATETIME N/A cx_Oracle FIXED_CHAR N/A cx_Oracle NCLOB N/A cx_Oracle NUMBER N/A cx_Oracle STRING N/A cx_Oracle TIMESTAMP TextField DateField CharField TextField DecimalField CharField DateTimeField N/A N/A N/A N/A data_types_reverse N/A N/A cx_Oracle NATIVE_FLOAT FloatField N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A data_types_reverse N/A N/A cx_Oracle UNICODE CharField N/A N/A N/A AttributeError N/A N/A get_field_type N/A N/A self data_type description N/A N/A N/A N/A N/A data_type N/A cx_Oracle NUMBER N/A N/A description N/A 5 0 N/A N/A IntegerField N/A N/A N/A N/A N/A super DatabaseIntrospection self get_field_type data_type description N/A get_table_list N/A N/A self cursor N/A N/A N/A Returns a list of table names in the current database. N/A N/A N/A cursor execute SELECT TABLE_NAME FROM USER_TABLES N/A N/A N/A N/A N/A row N/A 0 lower N/A row N/A N/A cursor fetchall N/A get_table_description N/A N/A self cursor table_name N/A N/A N/A Returns a description of the table, with the DB-API cursor.description interface. N/A N/A N/A cursor execute N/A SELECT * FROM %s WHERE ROWNUM < 2 N/A N/A N/A N/A self connection ops quote_name table_name N/A description N/A N/A desc N/A cursor description N/A N/A N/A N/A description append N/A N/A N/A N/A N/A desc N/A 0 lower N/A desc N/A 1 N/A description N/A table_name_converter N/A N/A self name N/A N/A N/A Table name comparison is case insensitive under Oracle N/A N/A N/A name lower N/A _name_to_index N/A N/A self cursor table_name N/A N/A N/A 
        Returns a dictionary of {field_name: field_index} for the given table.
        Indexes are 0-based.
         N/A N/A dict N/A N/A N/A d N/A 0 i N/A N/A i d N/A enumerate N/A N/A self get_table_description cursor table_name N/A get_relations N/A N/A self cursor table_name N/A N/A N/A 
        Returns a dictionary of {field_index: (field_index_other_table, other_table)}
        representing all relationships to the given table. Indexes are 0-based.
         N/A N/A N/A cursor execute 
    SELECT ta.column_id - 1, tb.table_name, tb.column_id - 1
    FROM   user_constraints, USER_CONS_COLUMNS ca, USER_CONS_COLUMNS cb,
           user_tab_cols ta, user_tab_cols tb
    WHERE  user_constraints.table_name = %s AND
           ta.table_name = %s AND
           ta.column_name = ca.column_name AND
           ca.table_name = %s AND
           user_constraints.constraint_name = ca.constraint_name AND
           user_constraints.r_constraint_name = cb.constraint_name AND
           cb.table_name = tb.table_name AND
           cb.column_name = tb.column_name AND
           ca.position = cb.position N/A table_name table_name table_name N/A relations N/A N/A row N/A N/A cursor fetchall N/A N/A N/A relations N/A N/A row N/A 0 N/A N/A row N/A 2 N/A row N/A 1 N/A relations N/A get_indexes N/A N/A self cursor table_name N/A N/A N/A 
        Returns a dictionary of fieldname -> infodict for the given table,
        where each infodict is in the format:
            {'primary_key': boolean representing whether it's the primary key,
             'unique': boolean representing whether it's a unique index}
         N/A sql SELECT LOWER(all_tab_cols.column_name) AS column_name,
       CASE user_constraints.constraint_type
           WHEN 'P' THEN 1 ELSE 0
       END AS is_primary_key,
       CASE user_indexes.uniqueness
           WHEN 'UNIQUE' THEN 1 ELSE 0
       END AS is_unique
FROM   all_tab_cols, user_cons_columns, user_constraints, user_ind_columns, user_indexes
WHERE  all_tab_cols.column_name = user_cons_columns.column_name (+)
  AND  all_tab_cols.table_name = user_cons_columns.table_name (+)
  AND  user_cons_columns.constraint_name = user_constraints.constraint_name (+)
  AND  user_constraints.constraint_type (+) = 'P'
  AND  user_ind_columns.column_name (+) = all_tab_cols.column_name
  AND  user_ind_columns.table_name (+) = all_tab_cols.table_name
  AND  user_indexes.uniqueness (+) = 'UNIQUE'
  AND  user_indexes.index_name (+) = user_ind_columns.index_name
  AND  all_tab_cols.table_name = UPPER(%s)
 N/A N/A N/A cursor execute sql N/A table_name N/A indexes N/A N/A row N/A N/A cursor fetchall N/A N/A N/A indexes N/A N/A row N/A 0 N/A primary_key unique N/A row N/A 1 N/A row N/A 2 N/A indexes N/A N/A