def buildUpdateFields(params):
    """Join fields and values for SQL update statement
    """
    return ",".join(["%s = \"%s\"" % (k, v) for k, v in params.items()])
dataset/ETHPy150Open airnotifier/airnotifier/controllers/base.py/buildUpdateFields/original