Project

General

Profile

« Previous | Next » 

Revision 3295

sql.py: delete(): Cache deletes by default

View differences:

lib/sql.py
931 931
def delete(db, table, *args, **kw_args):
932 932
    '''For params, see mk_delete() and run_query()'''
933 933
    recover = kw_args.pop('recover', None)
934
    cacheable = kw_args.pop('cacheable', False)
934
    cacheable = kw_args.pop('cacheable', True)
935 935
    log_level = kw_args.pop('log_level', 2)
936 936
    
937 937
    cur = run_query(db, mk_delete(db, table, *args, **kw_args), recover,

Also available in: Unified diff