Project

General

Profile

« Previous | Next » 

Revision 2579

sql_gen.py: to_name_only_col(): Support non-Col Code inputs

View differences:

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