Revision 2999
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_indexed_col(col): return isinstance(col, Col) and col.index_col != None |
|
229 |
|
|
228 | 230 |
def is_temp_col(col): return col.table != None and col.table.is_temp |
229 | 231 |
|
230 | 232 |
def as_Col(col, table=None, name=None): |
Also available in: Unified diff
sql_gen.py: Added is_indexed_col()