relstorage.adapters.oracle.batch – Batch table row insert/delete support#

Batch table row insert/delete support.

class OracleRowBatcher(cursor, inputsizes, row_limit=None)[source]#

Bases: RowBatcher

Oracle-specific row batcher.

Expects :name parameters and a dictionary for each row.

flush()[source]#

Return the tetal number of rows deleted or inserted in this operation. (This is the number requested, in the case of deletes, not the number that actually matched.)

This can be treated as a boolean to discover if anything was flushed.