relstorage.adapters.mysql.mover – IObjectMover implementation#

IObjectMover implementation.

class MySQLObjectMover(database_driver, options, runner=None, version_detector=None, batcher_factory=<class 'relstorage.adapters.batch.RowBatcher'>)[source]#

Bases: AbstractObjectMover

Parameters:

database_driver – The IDBDriver in use.

on_store_opened(cursor, restart=False)[source]#

Create the temporary table for storing objects

restore(cursor, batcher, oid, tid, data)[source]#

Store an object directly, without conflict detection.

Used for copying transactions into this database.