code: def get_sql(self):
          
          # reset arg index and args
          self.arg_index = 0
          self.args = {}
  
          # build the WHERE sql portion if needed
          if len(self.wheres):
              where = self.build_where_part(self.wheres)
              return 'WHERE {0} '.format(where)
          return ''
docs: Builds and returns the WHERE portion of the sql
  
          :return: the WHERE portion of the sql
          :rtype: str