def _on_conflict_target(self, clause, **kw):
    if (clause.constraint_target is not None):
        target_text = ('(%s)' % clause.constraint_target)
    elif (clause.inferred_target_elements is not None):
        target_text = ('(%s)' % ', '.join(((self.preparer.quote(c) if isinstance(c, str) else self.process(c, include_table=False, use_schema=False)) for c in clause.inferred_target_elements)))
        if (clause.inferred_target_whereclause is not None):
            target_text += (' WHERE %s' % self.process(clause.inferred_target_whereclause, include_table=False, use_schema=False, literal_binds=True))
    else:
        target_text = ''
    return target_text
def _on_conflict_target(self, clause, **kw):
    if (clause.constraint_target is not None):
        target_text = ('(%s)' % clause.constraint_target)
    elif (clause.inferred_target_elements is not None):
        target_text = ('(%s)' % ', '.join(((self.preparer.quote(c) if isinstance(c, str) else self.process(c, include_table=False, use_schema=False)) for c in clause.inferred_target_elements)))
        if (clause.inferred_target_whereclause is not None):
            target_text += (' WHERE %s' % self.process(clause.inferred_target_whereclause, include_table=False, use_schema=False, literal_binds=True))
    else:
        target_text = 
    return target_text