Revision 3100
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
272 | 272 |
col.table = table |
273 | 273 |
return col |
274 | 274 |
|
275 |
def with_default_table(col, table, overwrite=False):
|
|
275 |
def with_default_table(col, table): |
|
276 | 276 |
col = as_Col(col) |
277 |
if overwrite or col.table == None: col = with_table(col, table)
|
|
277 |
if col.table == None: col = with_table(col, table) |
|
278 | 278 |
return col |
279 | 279 |
|
280 | 280 |
def set_cols_table(table, cols): |
Also available in: Unified diff
sql_gen.py: with_default_table(): Remove no longer used overwrite param