Docs / MooBulkOptions Reference

MooBulkOptions Reference

Role#

MooBulkOptions configures a bulk load operation.

Properties#

  • BatchSize
  • BulkCopyTimeoutSeconds
  • PreparationSql
  • CleanupSql

Key points#

  • PreparationSql runs before the bulk copy starts
  • CleanupSql runs after success and is also attempted on the failure path when preparation SQL ran
  • use preparation and cleanup SQL for operational table-management work that fits your bulk-load process