(s)
return s
Quote SQL identifier.

    If is checked against weird symbols and keywords.
Quote SQL identifier.
Quote SQL identifier .
def quote_ident(s):
    """Quote SQL identifier.

    If is checked against weird symbols and keywords.
    """

    if _ident_bad.search(s) or s in _ident_kwmap:
        s = '"%s"' % s.replace('"', '""')
    elif not s:
        return '""'
    return s
def quote_ident ( s ) : if _ident_bad . search ( s ) or s in _ident_kwmap : s = '"%s"' % s . replace ( '"' , '""' ) elif not s : return '""' return s