Revision 2218
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
410 | 410 |
* if left_col is filter_out, the tables are LEFT JOINed together and the |
411 | 411 |
query is filtered by `right_col IS NULL` (indicating no match) |
412 | 412 |
@param fields Use None to select all fields in the table |
413 |
@param conds WHERE conditions: dict(compare_left_side=compare_right_side): |
|
414 |
* compare_left_side: Code|str (for col name) |
|
415 |
* compare_right_side: ValueCond|literal value |
|
413 | 416 |
@param distinct_on The columns to SELECT DISTINCT ON, or distinct_on_all to |
414 | 417 |
use all columns |
415 | 418 |
@param table_is_esc Whether the table name has already been escaped |
Also available in: Unified diff
sql.py: mk_select(): Documented conds param