Module Import alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return IfExp NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return TupleLoad Str Dict Str NameLoad Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad 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 Return ListComp Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue Assign TupleStore NameStore NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num attr Str If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad For TupleStore NameStore NameStore ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Continue Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return ListComp Dict Str Str Str Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num UnaryOpNot SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A re django.db.backends BaseDatabaseIntrospection FieldInfo N/A field_size_re N/A N/A re compile ^\s*(?:var)?char\s*\(\s*(\d+)\s*\)\s*$ get_field_size N/A N/A name N/A N/A N/A  Extract the size number from a "varchar(11)" type name  N/A m N/A N/A field_size_re search name N/A N/A m N/A int N/A N/A m group 1 None N/A FlexibleFieldLookupDict N/A object N/A N/A base_data_types_reverse N/A bool boolean smallint smallint unsigned smallinteger int integer bigint integer unsigned decimal real text char blob date datetime time BooleanField BooleanField SmallIntegerField PositiveSmallIntegerField SmallIntegerField IntegerField IntegerField BigIntegerField PositiveIntegerField DecimalField FloatField TextField CharField BinaryField DateField DateTimeField TimeField __getitem__ N/A N/A self key N/A N/A N/A key N/A N/A key lower N/A N/A N/A N/A N/A self base_data_types_reverse N/A key N/A N/A N/A KeyError N/A N/A size N/A get_field_size key N/A N/A size None N/A N/A N/A CharField N/A max_length size N/A KeyError N/A N/A DatabaseIntrospection N/A BaseDatabaseIntrospection N/A N/A data_types_reverse N/A FlexibleFieldLookupDict 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 name FROM sqlite_master
            WHERE type='table' AND NOT name='sqlite_sequence'
            ORDER BY name 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 FieldInfo N/A info N/A name N/A info N/A type None N/A info N/A size None None N/A info N/A null_ok N/A info N/A N/A self _table_info 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 relations N/A N/A N/A N/A cursor execute SELECT sql FROM sqlite_master WHERE tbl_name = %s AND type = %s N/A table_name table N/A results N/A N/A N/A N/A N/A cursor fetchone N/A 0 strip N/A results N/A results N/A N/A N/A N/A results index ( 1 N/A N/A results rindex ) N/A N/A field_index field_desc N/A enumerate N/A N/A results split , N/A N/A field_desc N/A N/A field_desc strip N/A N/A N/A field_desc startswith UNIQUE N/A N/A N/A m N/A N/A re search references (.*) \(["|](.*)["|]\) field_desc N/A re I N/A N/A m N/A N/A N/A N/A table column N/A N/A N/A s strip " N/A s N/A N/A m groups N/A N/A N/A cursor execute SELECT sql FROM sqlite_master WHERE tbl_name = %s N/A table N/A result N/A N/A N/A cursor fetchall N/A 0 N/A other_table_results N/A N/A N/A result N/A 0 strip N/A N/A li ri N/A N/A N/A other_table_results index ( N/A N/A other_table_results rindex ) N/A other_table_results N/A other_table_results N/A N/A li 1 ri N/A N/A other_index other_desc N/A enumerate N/A N/A other_table_results split , N/A N/A other_desc N/A N/A other_desc strip N/A N/A N/A other_desc startswith UNIQUE N/A N/A N/A name N/A N/A N/A N/A N/A other_desc split 1 N/A 0 strip " N/A N/A name column N/A N/A N/A relations N/A field_index N/A other_index table N/A N/A relations N/A get_key_columns N/A N/A self cursor table_name N/A N/A N/A 
        Returns a list of (column_name, referenced_table_name, referenced_column_name) for all
        key columns in given table.
         N/A key_columns N/A N/A N/A N/A cursor execute SELECT sql FROM sqlite_master WHERE tbl_name = %s AND type = %s N/A table_name table N/A results N/A N/A N/A N/A N/A cursor fetchone N/A 0 strip N/A results N/A results N/A N/A N/A N/A results index ( 1 N/A N/A results rindex ) N/A N/A field_index field_desc N/A enumerate N/A N/A results split , N/A N/A field_desc N/A N/A field_desc strip N/A N/A N/A field_desc startswith UNIQUE N/A N/A N/A m N/A N/A re search "(.*)".*references (.*) \(["|](.*)["|]\) field_desc N/A re I N/A N/A m N/A N/A N/A N/A N/A key_columns append N/A tuple N/A N/A N/A s strip " N/A s N/A N/A m groups N/A key_columns N/A get_indexes N/A N/A self cursor table_name N/A N/A N/A indexes N/A N/A info N/A N/A self _table_info cursor table_name N/A N/A N/A N/A info N/A pk 0 N/A N/A N/A indexes N/A N/A info N/A name N/A primary_key unique True False N/A N/A N/A cursor execute N/A PRAGMA index_list(%s) N/A N/A N/A N/A self connection ops quote_name table_name N/A N/A index unique N/A N/A N/A field N/A 1 N/A field N/A 2 N/A field N/A N/A cursor fetchall N/A N/A N/A N/A cursor execute N/A PRAGMA index_info(%s) N/A N/A N/A N/A self connection ops quote_name index N/A info N/A N/A cursor fetchall N/A N/A N/A len info 1 N/A N/A N/A name N/A N/A info N/A 0 N/A 2 N/A N/A indexes N/A name N/A primary_key unique False unique N/A indexes N/A get_primary_key_column N/A N/A self cursor table_name N/A N/A N/A 
        Get the column name of the primary key for the given table.
         N/A N/A N/A cursor execute SELECT sql FROM sqlite_master WHERE tbl_name = %s AND type = %s N/A table_name table N/A results N/A N/A N/A N/A N/A cursor fetchone N/A 0 strip N/A results N/A results N/A N/A N/A N/A results index ( 1 N/A N/A results rindex ) N/A field_desc N/A N/A results split , N/A N/A field_desc N/A N/A field_desc strip N/A m N/A N/A re search "(.*)".*PRIMARY KEY$ field_desc N/A m N/A N/A N/A N/A N/A m groups N/A 0 N/A None N/A _table_info N/A N/A self cursor name N/A N/A N/A N/A N/A cursor execute N/A PRAGMA table_info(%s) N/A N/A N/A N/A self connection ops quote_name name N/A N/A N/A name type size null_ok pk N/A field N/A 1 N/A field N/A 2 N/A get_field_size N/A field N/A 2 N/A N/A field N/A 3 N/A field N/A 5 N/A field N/A N/A cursor fetchall N/A N/A