Revision 2996
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
225 | 225 |
|
226 | 226 |
def is_table_col(col): return isinstance(col, Col) and col.table != None |
227 | 227 |
|
228 |
def is_temp_col(col): return col.table != None and col.table.is_temp |
|
229 |
|
|
228 | 230 |
def as_Col(col, table=None, name=None): |
229 | 231 |
''' |
230 | 232 |
@param name If not None, any non-Col input will be renamed using NamedCol. |
Also available in: Unified diff
sql_gen.py: Added is_temp_col()