Project

General

Profile

« Previous | Next » 

Revision 5007

db_xml.py: put_table(): Allow caller to specify custom partition_size

View differences:

lib/db_xml.py
182 182
partition_size = 500000 # rows
183 183

  
184 184
def put_table(db, node, in_table, in_row_ct_ref=None, row_ins_ct_ref=None,
185
    limit=None, start=0, on_error=exc.reraise, col_defaults={}):
185
    limit=None, start=0, on_error=exc.reraise, col_defaults={},
186
    partition_size=partition_size):
186 187
    '''
187 188
    @param node The XML tree that transforms the input to the output. Similar to
188 189
        put()'s node param, but with the input column name prefixed by

Also available in: Unified diff