Revision 3024
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
234 | 234 |
if not is_table_col(col): return None |
235 | 235 |
return col.table.index_cols.get(col.name, None) |
236 | 236 |
|
237 |
def is_temp_col(col): return col.table != None and col.table.is_temp
|
|
237 |
def is_temp_col(col): return is_table_col(col) and col.table.is_temp
|
|
238 | 238 |
|
239 | 239 |
def as_Col(col, table=None, name=None): |
240 | 240 |
''' |
Also available in: Unified diff
sql_gen.py: is_temp_col(): Use is_table_col() so that the type of the parameter is also checked