Revision 2816
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
378 | 378 |
if schema != None: conds.append(('table_schema', schema)) |
379 | 379 |
|
380 | 380 |
return sql_gen.as_Code(value(select(self, table, ['column_default'], |
381 |
conds, order_by='table_schema', limit=1, log_level=3))) |
|
381 |
conds, order_by='table_schema', limit=1, log_level=3)), self)
|
|
382 | 382 |
# TODO: order_by search_path schema order |
383 | 383 |
|
384 | 384 |
connect = DbConn |
Also available in: Unified diff
sql.py: DbConn.col_default(): Pass the connection to sql_gen.as_Code() so it fixes the syntax on values returned by PostgreSQL