Project

General

Profile

« Previous | Next » 

Revision 2805

sql.py: put_table(): Take on_error param

View differences:

sql.py
1100 1100
    return str_
1101 1101

  
1102 1102
def put_table(db, out_table, in_tables, mapping, row_ct_ref=None, into=None,
1103
    default=None, is_func=False):
1103
    default=None, is_func=False, on_error=exc.raise_):
1104 1104
    '''Recovers from errors.
1105 1105
    Only works under PostgreSQL (uses INSERT RETURNING).
1106 1106
    @param in_tables The main input table to select from, followed by a list of

Also available in: Unified diff