Revision 2141
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
329 | 329 |
def esc_name_(name): return esc_name(db, name) |
330 | 330 |
|
331 | 331 |
if not lists.is_seq(tables): tables = [tables] |
332 |
tables = tables[:] # don't modify input!
|
|
332 |
tables = list(tables) # don't modify input! (list() copies input)
|
|
333 | 333 |
table0 = tables.pop(0) # first table is separate |
334 | 334 |
|
335 | 335 |
if conds == None: conds = {} |
Also available in: Unified diff
sql.py: mk_select(): Support tuples of tables, not just lists