@compiles(coalesce, 'postgresql')
def compile(element, compiler, **kw):
    return "coalesce(%s)" % compiler.process(element.clauses)
dataset/ETHPy150Open dropbox/changes/changes/db/funcs/coalesce.py/compile/original