Revision 2579
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
136 | 136 |
|
137 | 137 |
def to_name_only_col(col, check_table=None): |
138 | 138 |
col = as_Col(col) |
139 |
if not isinstance(col, Col): return col |
|
139 | 140 |
|
140 | 141 |
if check_table != None: |
141 | 142 |
table = col.table |
Also available in: Unified diff
sql_gen.py: to_name_only_col(): Support non-Col Code inputs