#NEWLINE# def execute_sql( self , return_id = False ) : #NEWLINE# #INDENT# self . return_id = return_id #NEWLINE# cursor = super ( SQLInsertCompiler , self ) . execute_sql ( None ) #NEWLINE# if ( not ( return_id and cursor ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . connection . features . can_return_id_from_insert : #NEWLINE# #INDENT# return self . connection . ops . fetch_returned_insert_id ( cursor ) #NEWLINE# #UNINDENT# return self . connection . ops . last_insert_id ( cursor , cursor . query . model . _meta . db_table , self . query . model . _meta . pk . column )