Expand description
Batch/bulk operations for high-performance inserts Batching utilities for memory-efficient operations
Provides Ormada-style batching for large querysets to prevent OOM errors.
Constants§
- DEFAULT_
BATCH_ SIZE - Default batch size for bulk operations
- DEFAULT_
CHUNK_ SIZE - Chunk size for iterator streaming
- MAX_
BATCH_ SIZE - Maximum batch size allowed (safety guard)
Functions§
- batch_
vec - Split a vector into batches
- validate_
batch_ size - Validates batch size and returns safe value