Revision 8333
Added by Aaron Marcuse-Kubitza over 11 years ago
sql.py | ||
---|---|---|
746 | 746 |
|
747 | 747 |
distinct_on_all = object() # tells mk_select() to SELECT DISTINCT ON all columns |
748 | 748 |
|
749 |
def has_subset_func(db, table): |
|
750 |
return sql_gen.is_underlying_table(table) and function_exists(db, table) |
|
751 |
|
|
749 | 752 |
def mk_select(db, tables=None, fields=None, conds=None, distinct_on=[], |
750 | 753 |
limit=None, start=None, order_by=order_by_pkey, default_table=None, |
751 | 754 |
explain=True): |
Also available in: Unified diff
lib/sql.py: Added has_subset_func()