Revision 2259
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
67 | 67 |
def to_str(self, db): |
68 | 68 |
return self.code.to_str(db)+' AS '+sql.esc_name(db, self.name) |
69 | 69 |
|
70 |
##### Parameterized SQL code objects |
|
71 |
|
|
70 | 72 |
class ValueCond: |
71 | 73 |
def __init__(self, value): |
72 | 74 |
if not isinstance(value, Code): value = Literal(value) |
Also available in: Unified diff
sql_gen.py: Put parameterized SQL code objects in separate section