Revision 2442
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
509 | 509 |
'''For params, see mk_select() and run_query()''' |
510 | 510 |
recover = kw_args.pop('recover', None) |
511 | 511 |
cacheable = kw_args.pop('cacheable', True) |
512 |
log_level = kw_args.pop('log_level', 2) |
|
512 | 513 |
|
513 | 514 |
query, params = mk_select(db, *args, **kw_args) |
514 |
return run_query(db, query, params, recover, cacheable) |
|
515 |
return run_query(db, query, params, recover, cacheable, log_level=log_level)
|
|
515 | 516 |
|
516 | 517 |
def mk_insert_select(db, table, cols=None, select_query=None, params=None, |
517 | 518 |
returning=None, embeddable=False): |
Also available in: Unified diff
sql.py: select(): Pass log_level to run_query()