Revision 2226
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/sql.py | ||
---|---|---|
440 | 440 |
def cond(entry): |
441 | 441 |
'''Parses conditions''' |
442 | 442 |
left, right = entry |
443 |
return sql_gen.as_ValueCond(right).to_str(db, left)
|
|
443 |
return sql_gen.cond2sql_gen(right).to_str(db, sql_gen.col2sql_gen(left))
|
|
444 | 444 |
|
445 | 445 |
query = 'SELECT' |
446 | 446 |
|
Also available in: Unified diff
sql.py: mk_select(): cond(): Run additional sql_gen translation functions cond2sql_gen() and col2sql_gen() on the left and right sides of the comparison