Revision 2767
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
191 | 191 |
|
192 | 192 |
def to_Col(self): return self |
193 | 193 |
|
194 |
def is_table_col(col): return col.table != None |
|
194 |
def is_table_col(col): return isinstance(col, Col) and col.table != None
|
|
195 | 195 |
|
196 | 196 |
def as_Col(col, table=None, name=None): |
197 | 197 |
''' |
Also available in: Unified diff
sql_gen.py: is_table_col(): Check that input is a Col object