

def parse_node(self, node, alias_map=None, conv=None):
    (sql, params, unknown) = self._parse(node, alias_map, conv)
    if (unknown and conv and params):
        params = [conv.db_value(i) for i in params]
    if isinstance(node, Node):
        if node._negated:
            sql = ('NOT %s' % conv)
        if node._alias:
            sql = ' '.join((sql, 'AS', node._alias))
        if node._ordering:
            sql = ' '.join((sql, node._ordering))
    return (sql, params)

dataset/ETHPy150Open coleifer/peewee/peewee.py QueryCompiler.parse_node/VarMisuse@88/106 `sql`->`conv`