Project

General

Profile

« Previous | Next » 

Revision 3043

sql.py: update(): Pass cacheable to run_query()

View differences:

lib/sql.py
774 774
def update(db, *args, **kw_args):
775 775
    '''For params, see mk_update() and run_query()'''
776 776
    recover = kw_args.pop('recover', None)
777
    cacheable = kw_args.pop('cacheable', False)
777 778
    log_level = kw_args.pop('log_level', 2)
778 779
    
779
    return run_query(db, mk_update(db, *args, **kw_args), recover,
780
    return run_query(db, mk_update(db, *args, **kw_args), recover, cacheable,
780 781
        log_level=log_level)
781 782

  
782 783
def last_insert_id(db):

Also available in: Unified diff