code: def compile_insert_get_id(self, query, values, sequence=None):
          
          if sequence is None:
              sequence = "id"
  
          return "%s RETURNING %s" % (
              self.compile_insert(query, values),
              self.wrap(sequence),
          )
docs: Compile an insert and get ID statement into SQL.
  
          :param query: A QueryBuilder instance
          :type query: QueryBuilder
  
          :param values: The values to insert
          :type values: dict
  
          :param sequence: The id sequence
          :type sequence: str
  
          :return: The compiled statement
          :rtype: str