#NEWLINE# def _table_info( self , cursor , name ) : #NEWLINE# #INDENT# cursor . execute ( ( 'PRAGMA table_info(%s)' % self . connection . ops . quote_name ( name ) ) ) #NEWLINE# return [ { #NEWLINE# #INDENT# 'name' : field [ 1 ] , #NEWLINE# 'type' : field [ 2 ] , #NEWLINE# 'size' : get_field_size ( field [ 2 ] ) , #NEWLINE# 'null_ok' : ( not field [ 3 ] ) , #NEWLINE# 'default' : field [ 4 ] , #NEWLINE# 'pk' : field [ 5 ] , #NEWLINE# #UNINDENT# } for field in cursor . fetchall ( ) ]