Revision 2707
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
109 | 109 |
if table == None or isinstance(table, Code): return table |
110 | 110 |
else: return Table(table) |
111 | 111 |
|
112 |
def suffixed_table(table, suffix): return Table(table.name+suffix, table.schema) |
|
113 |
|
|
112 | 114 |
class NamedTable(Table): |
113 | 115 |
def __init__(self, name, code, cols=None): |
114 | 116 |
Table.__init__(self, name) |
Also available in: Unified diff
sql_gen.py: Added suffixed_table()