Revision 13079
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sql_gen.py | ||
---|---|---|
1198 | 1198 |
(wiki.vegpath.org/Postgres_queries#expression-substitution) |
1199 | 1199 |
|
1200 | 1200 |
this is a special case of bin/repl SQL identifier handling which does not |
1201 |
handle entire source files |
|
1201 |
handle entire source files, but which does simplify the resulting expression
|
|
1202 | 1202 |
''' |
1203 | 1203 |
for out, in_ in mapping.iteritems(): |
1204 | 1204 |
orig_expr = expr |
Also available in: Unified diff
lib/sql_gen.py: map_expr(): documented that unlike bin/repl SQL identifier handling, this does simplify the resulting expression