Module ImportFrom alias ClassDef bases NameLoad body Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num 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 Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore NameLoad Index BinOpSub Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num Num Num TupleLoad BinOpSub Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num Num Num SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Continue Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body If CompareIn Str SubscriptLoad NameLoad Index Num body Continue 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 DatabaseIntrospection N/A BaseDatabaseIntrospection N/A N/A data_types_reverse N/A 16 20 21 23 25 700 701 869 1043 1082 1083 1114 1184 1266 1700 BooleanField BigIntegerField SmallIntegerField IntegerField TextField FloatField FloatField IPAddressField CharField DateField TimeField DateTimeField DateTimeField TimeField DecimalField 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 c.relname
            FROM pg_catalog.pg_class c
            LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
            WHERE c.relkind IN ('r', 'v', '')
                AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
                AND pg_catalog.pg_table_is_visible(c.oid) N/A N/A N/A row N/A 0 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 LIMIT 1 N/A N/A N/A N/A self connection ops quote_name table_name N/A N/A cursor description 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 con.conkey, con.confkey, c2.relname
            FROM pg_constraint con, pg_class c1, pg_class c2
            WHERE c1.oid = con.conrelid
                AND c2.oid = con.confrelid
                AND c1.relname = %s
                AND con.contype = 'f' N/A table_name N/A relations N/A N/A row N/A N/A cursor fetchall N/A N/A N/A N/A N/A relations N/A N/A N/A int N/A N/A row N/A 0 N/A 1 -1 1 N/A N/A N/A int N/A N/A row N/A 1 N/A 1 -1 1 N/A row N/A 2 N/A N/A N/A ValueError N/A N/A 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 N/A N/A cursor execute 
            SELECT attr.attname, idx.indkey, idx.indisunique, idx.indisprimary
            FROM pg_catalog.pg_class c, pg_catalog.pg_class c2,
                pg_catalog.pg_index idx, pg_catalog.pg_attribute attr
            WHERE c.oid = idx.indrelid
                AND idx.indexrelid = c2.oid
                AND attr.attrelid = c.oid
                AND attr.attnum = idx.indkey[0]
                AND c.relname = %s N/A table_name N/A indexes N/A N/A row N/A N/A cursor fetchall N/A N/A N/A N/A row N/A 1 N/A 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 3 N/A row N/A 2 N/A indexes N/A N/A