alembic.operations.BatchOperations

class alembic.operations.BatchOperations(migration_context: MigrationContext, impl: Optional[BatchOperationsImpl] = None)

Modifies the interface Operations for batch mode.

This basically omits the table_name and schema parameters from associated methods, as these are a given when running under batch mode.

See also: Operations.batch_alter_table()

Note: that as of 0.8, most of the methods on this class are produced dynamically using the Operations.register_operation() method.

Construct a new Operations

Parameters: