Revision 2993
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
258 | 258 |
assert table == None or table == check_table |
259 | 259 |
return Col(col.name) |
260 | 260 |
|
261 |
def suffixed_col(col, suffix): |
|
262 |
return Col(concat(col.name, suffix), col.table, col.srcs) |
|
263 |
|
|
261 | 264 |
class NamedCol(Col): |
262 | 265 |
def __init__(self, name, code): |
263 | 266 |
Col.__init__(self, name) |
Also available in: Unified diff
sql_gen.py: Added suffixed_col()